Note: Some subdomain names are reserved: mail, www, ftp, cpanel, whm, webmail, webdisk. You can use any name except these.
To create a subdomain,
- Log into cPanel.
- In the Domains section, click on the Subdomains icon.
- Type in the name of the subdomain (e.g blog.example.com) and select the domain to create it under. It will automatically create a folder for the subdomain in your public_html folder.
- Click the Create button.
- You're Good!
You may create a subdomain for any addon domain or parked domain that already exists in your cPanel.
- field and it should automatically populate with a suggested location from which the subdomain will load its content.
- For instance, if you chose "blog" as your new subdomain, then the Document Root field will populate with /public_html/blog. This means that the new subdomain will load its content from the folder named blog from within the public_html directory.
- Once all three fields are set, simply click Create to complete the creation of your new subdomain.