What is a subdomain and how can I add one?

Updated 7 months ago by Theo Chu

What is a subdomain?

A subdomain is a domain that is a part of a main domain. It's a unique website with a unique URL, but it's still attached to the main domain. For example, blog.canadianwebhosting.com is a subdomain of canadianwebhosting.com

Since subdomains don't require a paid registration due to their dependency on the main domain, you can have an unlimited number of subdomains, but be mindful of the amount of storage that each of your subdomains can take up as it counts towards your quota.

There are many uses for a subdomain. If you wish to have a separate site for your store while still connected to your main domain, you could use shop.example.com or use forums.example.com if you want to have a forum panel for your subscribers.

How do I add a subdomain?

To add a subdomain on cPanel
  1. Log in to cPanel
  2. Click Subdomains
  3. Type the prefix for your subdomains then click Add
  4. Under Document Root, enter the path where you will add your subdomain's site contents - this is usually auto-filled to home/subdomain
To add a subdomain on Plesk
  1. Log into Plesk
  2. Go to Websites & Domains
  3. Click Add Subdomain
  4. Specify the following:
    1. In the Subdomain name box, type the portion of address that will be added to the domain name of your main site.
    2. In the Document root box, type the desired location of the directory where all files and subdirectories of this site will be kept. You can use the default directory of the main site, called httpdocs, or specify another directory.
  5. Click OK.

The new subdomain name is now shown in the list at the bottom of the screen.

Having trouble? Contact us and our team will be happy to help.


How did we do?