How can I create a subdomain?

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,

  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: blog.example.com
  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 blog from within the public_html directory.
  6. Once all three fields are set, simply click Create to complete the creation of your new subdomain.
  • 1 Utilizadores acharam útil
Esta resposta foi útil?

Artigos Relacionados

Registering a .net.ng domain name details

Registering your .net.ng domain name requires you to know the following:.net.ng is a reserved...

How can I change my domain nameservers?

Kindly follow the steps below to change the nameservers of your domain name Login to your...