You are currently viewing How to add subdomain in Cpanel

How to add subdomain in Cpanel

86 / 100

Sub-domains can point to different sections of your website. In order to create a subdomain in your cpanel account, follow the next steps.

1. Log into your cPanel >> Domains section >> Subdomain

For cPanel Basic Theme:


How to add subdomain in Cpanel | Gotmyhost

For cpanel Retro Theme:

For cPanel Retro Theme to add subdomain in Cpanel

The Sub-domains menu can be quickly accessed via cPanel shortcut in the Gotmyhost account.

2. Enter the following details for your subdomain:


Sub-domain: the name of your Sub-domain
Domain: choose the domain name you wish to create sub-domain for from this drop-down menu
Document Root: the root directory for your sub-domain (for example, it can be /public_html/sub-domain)

3. Click on Create.

For cpanel Basic Theme:

How to add subdomain in Cpanel | Gotmyhost

For cpanel Retro Theme:

How to add subdomain in Cpanel | Gotmyhost

NOTE: the newly created sub-domain should be available online within 5-10 minutes. However, it may take up to 30-40 minutes for the newly created record to fully propagate world-wide.

You can also create a wildcard sub-domain. Wildcard sub-domains allow you to point all the sub-domains (existing and non-existing ones) to a specific folder in your account.

It means that if you enter any sub-domain in your browser (for example, test.domain.com – not existing, or blog.domain.com – existing), it will show the same content that you uploaded to the folder for the wildcard subdomain.

That’s it!

To change cPanel password

Leave a Reply