What is an addon domain?
Addon domain's (also sometimes known as addon websites) let you host multiple websites under a single Chillidog Hosting account. This is useful if you own more than one website or you want to host a couple of small websites for friends or family under a single account. Addon domains save the hassle and cost of setting up multiple hosting accounts for each website. Unlike some other web hosting companies which ban addon domains, Chillidog Hosting supports unlimited addon domains, within your existing disk space and bandwidth quota.
When you create a new addon domain, a new subdirectory (folder) is created within your root folder. It is into each of these folders, that additional websites can be stored. Domain names can be setup to forward directly to these addon domain's. The addon domain will appear as a totally separate domain from your primary (main) domain. Addon domains are seamless and there should be no evidence that your domain is an addon domain to incoming traffic, when they visit your addon domain.
Addon domain's are fully functioning domains that can be created from within your Chillidog Hosting CPanel. You can give each addon domain email addresses, FTP accounts, forwarders, and more options; the same way you do for your main domain on your Chillidog Hosting account right now.
Creating a new addon domain
To create an addon domain in your Chillidog Hosting account, follow these steps:
Log into your CPanel (control panel) using your normal username and password combination. Scroll down to the section headed Domains and click on the Addon Domains button shown.
In the 'Create an Addon Domain' form, start by entering the domain name and suffix. You do not need to enter 'http://' or 'www' in this box. Next provide a subdomain username and FTP username. CPanel often populates the username and document root fields for you automatically, so these don't need to be changed unless you really need to use something different. Enter a strong password (different to anything else you are using). If you are not sure what to use as a password, use the Password Generator option to generate a strong random password. Finish by clicking the Add Domain button. It make take a couple of minutes for your request to be sent to the server and processed. Checks are made to ensure the domain name is pointing towards the Chillidog Hosting server.
Important: Addon domains will not function unless the domain name is registered with a valid ICANN registrar and configured to point to the correct DNS servers (nameservers). If you have not done so already, nameservers for the domain name should be set to the following:
Nameservers will need to be configured on the domain name registrars website. Normally you would login to the registrars website, click on the domain name, and change the nameservers in the settings panel.
Once the addon domain has been created, it should be available for use straight away. However if you have recently changed the nameservers (as discussed above) it may take up to 24 hours for these changes to propagate across the internet. Addon domains are shown in your CPanel. You can perform actions like removing addon domains or managing redirection, using the links provided next to each corresponding addon domain.
Publishing to an addon domain
Because each addon domain is stored in a separate folder in your root /public_html/ directory, publishing a website to an addon domain is pretty straightforward. When you created the new addon, you also created a new FTP account for that domain. So you can use those FTP details to publish directly to the new addon domain.
To get the FTP details for the addon domain, log into your CPanel and scroll down to the Files heading. Click the FTP Accounts button, as pictured below.
On the FTP page, scroll down to the table, showing all FTP accounts. Click the Configure FTP Client link, next to the corresponding addon domain name. Use these settings provided in your FTP software, to publish to the addon domain.
The other option you have for publishing to a subdomain is to simply use your primary FTP or SFTP account. In the path field, enter the folder name and suffix of the sub domain like this:
That would then provide a connection directly through to that particular addon domain.
Error 403 errors?
Sometimes if you try to access pages on your website, you might get an error that says "Error 403 - Forbidden" or words to that effect. Error codes that start with 4xx (like the more-common error 404 - site not found) are caused by browser requests. A 403 error code could mean the browser (or a person trying to access your site) cannot access the requested file or page. Most commonly it means the permissions on the server do not allow the files being requested.
The first thing to check is that the publishing path you are using is correct. A simple slip-up like omitting a '/' in a publishing path or a typo in a folder name could be enough to cause the website to get published into the wrong directory (folder). So do take time to scrutinise your publishing settings very carefully.
In instances where you have manually uploaded files or changed permissions using FTP software, check that permissions you have applied to folders or files is not blocking access to those files.
If you purposefully want to enable directory-browsing on your Chillidog Hosting account, you will need to add or edit the website .htaccess file to include the following:
// Enable directory indexes Options +Indexes
This will tell the Apache server software that it is okay for people to openly browse directories and lists of files on your website. So instead of hitting an error 403 when they navigate to a directory, they will instead get a list of files and folders automatically displayed in the browser window, with links to all.