Webhosting & eCommerce

Sub Domain / Hostname FAQ

Sub Domains are extensions of your own domain/s which can be mapped or pointed to a particular directory inside of your hosting account for example if your domain was yourdomain.com ...

messageboard.yourdomain.com /youraccount/messageboard
develop.yourdomain.com /youraccount/newsite/prototype1
support.yourdomain.com /youraccount/support/helpdesk
admin.yourdomain.com /youraccount/admin/billing/console

These Sub Domains become mini sites that branch off your main site. These are useful for categorizing areas of your website for a more corporate/professional image. Also commonly used areas of your website can be easily remembered when assigned a Sub Domain rather then trying to memorize a lengthy directory structure.
eg. promotion.yourdomain.com or yourdomain.com/promotions/current/a/081501/
without having to chop & change your website.


  What is a Cname/Hostname ?
  What is a Subdomain ?
  How do I create a Sub Domain under my account ?
  My Sub Domain does not work whats going on ?
  My Sub Domain did work but it's not working anymore
  Why aren't my CGI/Perl scripts working ?
  Will creating Sub Domains damage my website in any way ?
  Can I create POP3 Mailboxes on top of Sub Domains ?
  Do I need to create a www. Sub Domain ?
  Will deleting a Sub Domain delete my document root ?
  How do I publish a FrontPage Web under a Sub Domain ?
  How do I map a Hostname to an external website ?
  Can I modify a Subdomain ?
  How long can a Sub Domain be ?
  Can I password protect these Sub Domains ?


   What is a Cname/Hostname ?
   A Hostname can be internally mapped to a sub-folder to create a Sub Domain, or used to externally link to an IP address (such as a mail server). Hostnames have the form HOSTNAME.domain.com
 
   What is a Subdomain ?
   A Sub Domain is much like an internal redirect through Apache. When the Server receives a request for a domain such as shop.yourdomain.com it will look up the sub domain in the config and return the appropriate details in the residing Document folder.
 
   How do I create a Sub Domain under my account?
   You will need to go through 2 steps:
Step 1. You will have to go to the Add or remove Hostnames form and create a new Hostname by entering the Hostname (hostname.yourdomain.com) you want and select the domain where you would like to create the Hostname from the drop down list. To have it mapped to your hosting account enter your account name.server101.com or domain into the Map to or leave it default. Once you have completed creating your Hostname it is time to move on to the next step.

Step 2. Now go to the Add or remove Sub Domains area and Map your Hostname to the appropriate directory under your hosting account by selecting the Sub Domain from the Sub Domain drop down list on the left. Then enter the correct directory in the Document Root field (e.g. /members).

Once you have completed these 2 steps. It will take less than 1 hour to setup.
Note: Once a new Hostname has been created your domain status will be forced to unknown for around 1 hour this will not interrupt service to your website.
 
   My Sub Domain does not work whats going on ?
   Make sure you have completed all of the steps above and the Document Root field is pointing to the right directory. It will also take about 1 hour to fully update your domain settings.
 
   My Sub Domain did work but it's not working anymore
   Make sure you have not deleted your Document Root for that particular account. We also have reports of customers domains not resolving from time to time so it could be your DNS server at your ISP. If all else fails send an email to support@server101.com.
 
   Why arent my CGI/Perl scripts working ?
   You can not have a CGI directory under your sub domains. Although you can have your scripts in your main CGI directory and link them directly.
eg. <A HREF="http://www.yourdomain.com/cgi/script.cgi">
 
   Will creating Sub Domains damage my website in any way ?
   No. Creating Sub Domains will not interrupt service to your website in any way.
 
   Can I create POP3 Mailboxes on top of Sub Domains ?
   No. It is not possible to create POP3's under Sub Domains. POP3 can only be created under the top level yourdomain.com of your domain.
 
   Do I need to create a www. Sub Domain ?
   No. That is done by default when you mapped your domain to your account.
 
   Will deleting a Sub Domain delete my Document Root ?
   No. Deleting the Sub Domain will only remove the entries in our records regarding the Sub Domain. It will take around 1 hour for your changes to fully take effect.
 
   How do I publish a FrontPage Web under a Sub Domain ?
   It is not possible to publish FrontPage Webs under a subdomain
 
   How do I map a Hostname to an external website ?
   Quite easily. Simple follow Step 1 in the first question and instead of entering your account name in the Map To field enter the domain or ip address. Changes will take around 1 hour to take effect.
 
   Can I modify a Subdomain ?
   Technically no. Although you can delete the Sub Domain and map it to a new Document Root. It will only take about an hour for the changes to take effect.
If you would like to modify the Hostname you will have to delete the corresponding sub domains if any and recreate them.
 
   How long can a Sub Domain be ?
   128 Characters.
 
   Can I password protect these Sub Domains ?
   Yes. Simply set up a .htaccess & .htpasswd file in your Document Root further details about .htaccess files can be found here.