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, 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,

  1. Log into cPanel.
  2. In the Domains section, click on the Subdomains icon.
  3. In the Subdomain field, select the name of the subdomain you wish to use. For example, if you choose blog, your subdomain will be:
  4. 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.
  5. 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 blogfrom within the public_html directory.
  6. Once all three fields are set, simply click Create to complete the creation of your new subdomain.
Was this answer helpful? 5 Users Found This Useful (7 Votes)