When you buy any of our web hosting plans, you have to setup a domain to go along with it. This domain acts as the main (you could say base) domain for all operations on that site. Addon domains let you connect extra domains as supplements to the main site or as completely different sites altogether.

Each web hosting plan lets you add a certain amount of addon domains. Compare our plans

Add-on domains can link to the same place as your base domain (by forwarding to the base domain or digging into public_html) or you can host a completely different site on the same account. The only difference between a separate web hosting account for each domain and a bunch of domains within one web hosting account is that your files will be shared across that one server and that one account.

Hosting multiple websites within one account can raise security concerns if you’re sharing details with other people or other sites. And, with enough domains, you could slow down your site (because everything’s on the same node and not distributed like other sites). But realistically, there’s nothing to worry about. For example, your search ranking (SEO) shouldn’t be affected (unless your site is experiencing slowdowns).

An addon domain created in cPanel will only function if the domain is registered and pointed to the server via nameservers or an A record. Additional domains for this purpose may be registered and pointed to your account here.

A practical example

Hosting a separate site with addon domains

Setup your domain’s DNS and nameservers correctly.
Go to “Addon domains” in cPanel and add your desired domain. Make sure the folder it’s connected to isn’t in public_html. We’ll assume you added example.com as the domain and the folder is example.com-site.
Now, go to the file manager. example.com-site isn’t in public_html. It’s outside of that folder. Once you go to the folder, however, you have a lot of freedom to setup a dynamic or static site.

Using a separate domain to link to your main (base) site

Method 1: A simple redirect

When you visit rbno.co, you’re redirected to rabbitnode.com.

Follow the instructions of the “Hosting a separate site with addon domains” section. In the newly created folder, create a .htaccess file (instructions here). In this file, you can enter two snippets based on what behavior you want.

DO NOT forget to enter the domain you want to redirect to. In addition, these redirects are PERMANENT and visitors, who previously visited these sites, will ALWAYS be redirected to the new site (unless they clear their cache/browser stored data, which is unlikely to happen).

For each page I visit on this addon domain, I want to redirect my users to the base site’s homepage (root/index page)

RewriteEngine On
RewriteRule ^(.*)$ http://enter.yournewdomainhere.com/ [R=301]


For each page I visit on this addon domain, I want to redirect my users to the exact directory that was specified in the URL

This is more useful for those who are moving from one domain to another and will give a search ranking (SEO) boost in that case.

RewriteEngine on
RewriteRule ^(.*)$ http://newdomain.com/$1 [R=301,L]


Method 2: Duplicating files

When you visit rbno.co, you stay at rbno.co but see the contents of the main site, i.e.: rabbitnode.com.

If a canonical meta tag is not set with the base site’s URL — or the main site you want visitors and Google to see at first — you will have some significant issues with bots and search ranking. In other words, avoid this method if you don’t know the downsides that you could face.

Everything is the same as hosting a separate site, except the folder you link to is public_html (or wherever the base site is located).
Was this article helpful?
Thank you!