Knowledgebase: Domains
All About Subdomains
Posted by SEO Admin on 31 March 2015 02:31 PM

What IS a sudomain, you say? Well...

Say you have a domain name 'example.com'. A subdomain would look like 'sub.example.com'.
Note: where 'example.com' is your site URL. 

The domain name system is a hierarchy of names, and include hostnames and subdomains. For our purposes, there is not much difference between a hostname and a subdomain (there is a technical difference if you're running a network of servers).

Create a New Sub-Domain

To create a new sub-domain:

  1. Log in to your cPanel account and click Subdomains from the Domains section



  2. Enter a new sub-domain, like 'sub.example.com', in the Subdomain blank

  3. Add the document root information in the appropriate blank and click Create

cPanel will create a DNS entry (an A record) for that subdomain pointing to your IP address.

Advanced Uses of Subdomains

C Name Records

If you use a service like Google Apps for Domains then you may need to create a Cname record in DNS to point:

Example: 'start.example.com. CNAME ghs.google.com.

To create a C name record submit a support ticket requesting it and we will take care of it. You would not create a subdomain in cPanel, which creates the A record. Cname records and A records cannot coexist in this manner.

Delegating Subdomains

You can delegate a subdomain to another ISP, webhost or network provider. This is not done through the cPanel Subdomains. You would need to submit a support ticket with the remote network's DNS/Nameservers and we will create NS records delegating the subdomain.

Example: you use DynDNS to create a DNS record for your home IP address assigned to you by your DSL provider. If we created a hostname/subdomain for 'home.example.com' and point it to your IP address at home, it would not work when your ISP changes your IP address.

Instead, you would register with DynDNS to update a hostname 'home.example.com' with your IP address every time it changes. In order for this to work, we will create a NS record, referring all requests for 'home.example.com' to DynDNS.

home.example.com. NS ns1.mydyndns.org. home.example.com. NS ns2.mydyndns.org.


​Ultimately, we will answer requests regarding your website, email server, etc., and then for anything related to your home IP address we will refer all requests to DynDNS who then has the necessary information about 'home.example.com'.

View All Your Subdomains from WHM

WHM allows you to view a listing of all the subdomains contained throughout the accounts hosted in your WHM. If you have access to WHM you can view them all:
  1. Log into WHM
  2. In the left-hand sidebar, expand the Account Information section
  3. Click List Subdomains
This will give you a list of all subdomains (along with linked domains) that have been created under all domains within your account.
(3 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
Help Desk Software by Kayako fusion