Hosting Question? Find the Solution -

KNOWNHOST KNOWLEDGE BASE

Browse our Guides, Articles, and How-To's

How to add Sub Domains in cPanel?

Category: cPanel
Tags: # # # # #

With cPanel you get an easy-to-use option through which you can create multiple sub-domains with the hosted domain. That’s why with this guide we’ll help you know How to add Sub Domains in cPanel and hope that it becomes a familiar process for you.

A subdomain is typically used for creating areas of your website that can be easily identified or accessed through a specific term such as test.yourdomain.com, portal.yourdomain.com, etc. These can be useful for keeping site systems separate from the primary website while showing structure to the overall URL.


Creating Subdomain

1. Log in to cPanel using Username Password. i.e; (https://yourdomain.com:2083 or https://yourdomain.com/cpanel)

2. Navigate to Domains → Subdomains.

navigate-to-sub-domains

3. Enter the necessary information in the fields,

Subdomain: Enter the name of the subdomain.

Domain: Select domain from the dropdown for which you would like to create a subdomain.

Document Root: Once you enter the subdomain name, cPanel automatically specifies the document root for the subdomain. Also, you can configure the custom document root for the new addon domain.

How-to-add-Sub-Domains-in-cPanel

4. Now, finalize the addition of the domain name → click on “Create“.

click-on-create-sub-domain

Removing Subdomain

1. Log in to cPanel using Username Password. i.e; (https://yourdomain.com:2083 or https://yourdomain.com/cpanel)

2. Navigate to Domains → Subdomains.

navigate-to-sub-domains

3. In the “Modify a Subdomain“, you can find all the created Sub Domains.

4. Navigate to a specific subdomain → Click on “Remove“.

5. On the confirmation screen again, click on “Delete Sub Domain“.

confirm-removal-of-subdomain

Conclusion

Now that we’ve gone over how to add/remove the subdomain from cPanel. You can test/deploy new projects on the subdomain as per requirements without purchasing/registering new domain names.

KnownHost offers 365 days a year, 24 hours a day, all 7 days of the week best in class technical support. A dedicated team ready to help you should you need our assistance. You’re not using KnownHost for the best webhosting experience? Well, why not? Check with our Sales team to see what can KnownHost do for you in improving your webhosting experience.