Portal Home > Knowledgebase > Sub domain > How to add sub domain account


How to add sub domain account




Add a Sub domain

When you create a subdomain in cPanel, you will be asked to choose the name of the subdomain, the domain the subdomain is for and the location from which the new subdomain will load it's content.

Note: Some subdomain names are reserved: mail, www, ftp, cpanel, whm, webmail, webdisk. You can use any name except these.

How do I create a subdomain?
1. Log into cPanel and click on the "Subdomains" icon.

2. In the "Subdomain" field, please select the name of the subdomain which you wish to use, for example, you might choose blog pattern. If you choose blog pattern, then your subdomain will look like "blog.example.com".
Next, select the desired domain you wish to create this subdomain for from the drop down menu to the right of the "Subdomain" field. You may create a subdomain for any addon, parked or subdomain that already exists in your cPanel.

3. When you click on the "Document Root" field, it should automatically populate with a cPanel 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.

4. Once all three fields are set the way you prefer, simply click on the "Create" button to complete the creation of your new subdomain.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Powered by WHMCompleteSolution