ATTENTION: READ THIS BEFORE SETTING UP A SUB-DOMAIN!
Q. What is a Sub-domain?
A. www.yourdomain.com is a domain name. A sub-domain is anything that comes before the domain name and will work for any Top Level Domain (TLD) such as .org, .net, .info, etc. Of course you may name a sub-domain just about anything you like.
Example: chat.yourdomain.com would be a sub-domain of yourdomain.com. The sub-domain is listed before the main domain name; in this case it is chat.xxxxxxxxxxx.xxx
Q. What is a sub-domain used for?
A. The short answer is that they may be utilized for a lot of things. They can be used for creating distinct segments of your site, used as a test platform for landing pages as well as used to contain a blog, an ecommerce script or even a bulletin board to name just a few. Typically this is done when you have a website with a ecommerce script attached (or any other for that matter). In order to keep the web directories clean, the script is placed in a sub-domain and it is also more secure that way; but that is just one example of thousands of uses.
Q. How do I create/set up a Sub-domain?
A. To create a sub domain, you must log into your cPanel and select the Sub-Domains button. This page will guide you through the process, starting with the name you wish to use. MAKE SURE the sub-domain name you give it doesn’t have a folder already named the same or it will cause an error message and the sub-domain will not work!
Example: You want to create the sub-domain test.yourdomain.com, so the sub-domain name is going to be Test. If you already have a folder in your directory named Test, you will need to delete it or rename it to something different before you can create the sub-domain Test within cPanel.
Q. What is the difference between a sub-domain, an add-on domain and a parked domain?
A. A parked domain is a different domain than the one for which you have a web hosting account. A domain name that is parked on another shows the same web site to visitors whether they clicked a link in a search engine or used a bookmark to your main domain name or the parked one. For example yourdomain.net is parked on yourdomain.com; either domain will show the exact same web pages, just with a different extension.
An add-on domain acts as its own website, independent of your main account domain name. For example, myfamily.org may be created as an add-on domain to yourdomain.com; both act as totally independent web sites of each other but are on the same hosting account. It should also be noted that the add-on domain also creates a sub-domain in your web folder directory, in this case it would be the myfamily.org directory.
A sub-domain is simply a section or part of your main domain name as described above.