HostGator Web Hosting Help

What Is A Subdomain And How Does It Work? How To Create A Subdomain

Overview

This article will explain how to create a subdomain. Subdomains allow you host multiple websites or other services with one domain name.

What is a Subdomain

Subdomains are are attached to the front of your main domain. They usually follow the form subdomain.maindomain.com. They behave very simmilar to a normal domain. You can point them to a folder to host a website just like a normal domain name.

Accessing the Subdomain Menu

Legacy

  1. Log in to your HostGator cPanel account.
  2. Click the Domains tab at the top of your account.
  3. Click On Subdomains on the submenu.

Rock

  1. Log in to your HostGator account.
  2. Click the Domains tab from the side-navigation to the left.
  3. Click on Subdomains from the drop-down menu that appears.

Creating a Subdomain

  1. Enter the desired subdomain
  2. Choose one of your Domain Names from the drop-down list
  3. Enter the Document Root, this is the folder that contains the website you want to show.
  4. Click Create.


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

What is the difference between parked domains and addon domains?
Knowledgebase Article 448,944 views tags: add addon domain park parked

How do I FTP to my addon domains and subdomains without interfering with my main account.
Knowledgebase Article 457,985 views tags: addon domain ftp

Do you support wildcard subdomains or wildcard DNS entries?
Knowledgebase Article 315,420 views tags: dns domain subdomain wildcard zone

Related Help Content

How do I stop people from being able to use the addon domain as a subdomain of the primary domain?
Knowledgebase Article 420,301 views tags: addon domain htaccess

I do not want to see addon.maindomain.com. How do I do that?
Knowledgebase Article 336,756 views tags: accessible addon directory domain folders hidden htaccess inaccessible primary secondary

What is an Addon domain?
Knowledgebase Article 532,017 views tags: addon domain

How do I setup an addon domain or parked domain in my hosting account?
Knowledgebase Article 913,917 views tags: addon domains parked

How can I host only a subdomain on my hosting service provided by HostGator?
Knowledgebase Article 426,076 views tags: domain host subdomain

This article will explain how to un-assign a domain name from your account.
Knowledgebase Article 415,033 views tags: delete domain domains park parked remove unassign unpark

You need two things to have a successful website and professional email: a domain registration and a hosting account.
Knowledgebase Article 317,530 views tags: dns domain domains nameservers servers

I tried to assign a domain through the Domain Manager, but it does not allow me to. What is wrong?
Knowledgebase Article 328,755 views tags: addon domain park parked