How to Create a Subdomain on Your Web Hosting Package?


A subdomain is an additional name, which is added to the URL before the domain name of the website. The purpose of creating a subdomain is to separate, organize, and navigate the specific type of content from the rest of the website such as an online shop or blog.

Many subdomains can be created from the main domain based on the requirement of an individual. A few examples of subdomains are:

Sub-domain = “blog”

Main Domain (Primary Domain) = “website”

How to Create a Subdomain?

  • Step 1 – Think of a Suitable Name for Sub-Domain

Decide a name for the subdomain, which is most suited according to the specific purpose of the subdomain such as shop, store, help, or blog.

  • Step 2 – Login to Your Web Hosting Account

In the next step, you need to sign in to your web hosting account where your main domain is hosted. If the main domain is not hosted yet, then connect the primary domain with the hosting provider using the Domain Name Server (DNS).

  • Step 3 – Login to Control Panel (cPanel)

After logging into the hosting account, you will need to again login into the cPanel of your main domain. Each domain has its own cPanel with the hosting provider. This acts like a file manager for your domain.

  • Step 4 – Go to Subdomain Option & Create Subdomain

Here, you can enter the desired name for the subdomain under the subdomain column. Next, make sure that the desired primary domain is selected.

Below that, you will see a directory root path where all the files and information related to that subdomain will be saved. Make sure that you don’t have any existing domain path already with the same name as the subdomain name. Otherwise, it will conflict with each other.

In the end, after all is set, click on “Create” and your subdomain will be created. You can immediately see it below in the list of subdomains.

  • Step 5 – Sub-Domain Activation

After creating a new subdomain, check if the new subdomain website is visible or active on the internet browser.

If you are not able to see your new subdomain on the internet browser, then you need to check the DNS setting of the subdomain name. In most cases, the subdomain uses the DNS setting from the same web hosting provider of the primary domain. If it doesn’t show immediately, then ideally it should be active within 24 hours.

In rare cases, if it is not active even after 24 hours, then you may need to manually add another DNS information for your sub-domain. You can manually update the following DNS data for activation such as:

  • Subdomain Name
  • DNS Record Type A
  • IP Address of web hosting provider

Once the subdomain website is active, you can upload your website files and content to your new subdomain after it is created.

Difference Between Subdomain and Add-on Domain

Many times, you may get confused about the difference between the subdomain and the add-on domain because both are created from the same subdomain option of the Control Panel.

An addon domain is a unique and completely separate domain entity from the primary domain, which has its own identity, registration and content. But the subdomain of a primary domain acts as an extension of the primary domain, which means it is still a part of the main domain and not a separate domain.

We hope that you would find this article very helpful with our step-by-step guide to set up your new subdomain easily with your web hosting package.

If you’re looking for a host that allows you to add unlimited sub-domains and add-on domains, we recommend HostGator Baby Plan at just $45/yr with a free domain

Please wait while you are redirected...or Click Here if you do not want to wait.

Leave a Reply

Your email address will not be published. Required fields are marked *