Login to cPanel.
Locate and click on the “Subdomains” icon under the “Domains” category.
Enter the name of the subdomain, and then provide a Document Root. The Document Root will be a folder that resides within your main domain’s root directory, and will be the folder that loads when the subdomain is accessed. Coincidentally, the website you develop at subdomain.yourdomain.com can also be accessed via yourdomain.com/subdomain.
Enter the required information to create a subdomain.
Click the “Create” button and the subdomain will be created.
Deleting subdomains from this list doesn’t delete the folder created during the subdomain creation. So you have to delete it manually.