How to add a subdomain in cpanel

As the name suggests, it does not have a new domain name. It is a is a second website, with its own unique content, but will always carry the name of the parent/main domain.

As an example, you have the domain domain1.com. Its document root will be /home/username/public_html (this could vary at times). Contents will be loaded from this location when domain1 is accessed in the browser.

You decide to have a wordpress installation in a sub directory blog (/home/username/public_html/blog), which you intend to access as blog.domain1.com

This is when you go for a subdomain. The same contents can be accessed as domain1.com/blog or blog.domain1.com

If you own domain1.com, you can have many subdomains (depending on the plan you are on) as blog.domain1.com, help.domain1.com, gallery.domain1.com

Below is step by step, how to create a subdomain in cpanel :

  1. Login to Cpanel
  2. Click on subdomains
  3. Enter subdomain name you wish to use
  4. Choose document root name or leave blank
  5. Click on create

  • cpanel, hosting, subdomain, how to
  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

How To Setup And Install WordPress

How To Setup And Install WordPress WordPress is the most popular content management system (CMS)...

Do i actually get a FREE (LIFETIME) domain for real?

YES!!!....At KINGSCEL we believe every small to medium sized business should have an online...

Do i get the Free domain with the VPS?

We offer a free domain for a year when you buy our VPS services. You pay only after a year of...

How To Setup And Install Free SSL Certificates

How To Setup And Install Free SSL Certificates Over the last year, one of our big "selling...

How To Setup And Install Free SSL Certificates

How To Setup And Install Free SSL Certificates Over the last year, one of our big "selling...