How can I create a subdomain?
To create a sub domain, cPanel will ask for the name you wish to use. Please ensure that the subdomain name you give it doesn't have a folder already named that name. If there is a folder with the same name you want to give the subdomain, the subdomain will not work. For example, I want to create the subdomain best.hostnownow.com, which means my sub name is going to be best. If I already have a folder in my ftp named best, I will have to either delete it or rename it to something different, before I can create the subdomain with the "best" name from the cPanel.
To create the subdomain,
- Log into cPanel.
- In the Domains section, click on the Subdomains icon.
- In the Subdomain field, select the name of the subdomain you wish to use. For example, if you choose blog, your subdomain will be: blog.example.com
- In the adjacent drop-down menu, select the domain for which you wish to create this subdomain. You may create a subdomain for any addon domain or parked domain that already exists in your cPanel.
Note: Addon domains automatically create a corresponding subdomain that reflects the addon domain and primary domain.
- Click on the Document Root field and it should automatically populate with a suggested location from which the subdomain will load it's 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 it's 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.