What is an addon domain?

An addon domain is a fully functional domain that can be created from within your control panel. Think of it as having multiple hosting packages all sharing the same control panel. You can give them email addresses, forwarders, and more the same way you do for your main domain on the account.

The addon domain will appear as a totally separate domain from your primary domain. There should be no evidence that your domain is an addon domain to incoming traffic when they visit your addon domain.

Article Comments


Can each addon domain manage their own email account. i.s. Create an email administrator for each addon domain and let them manage their own email account creation?


Unfortunately, the only way to manage the email accounts is through cPanel. On a shared web hosting plan, there is only the one cPanel.

However, with a reseller plan, you can create a unique cPanel for each domain name. This means your second domain owner can login and manage the email accounts (without needing access to your main cPanel).

Uche Ndukwe
Is it possible to separate an addon domain to become separate with its own cpanel after making it an addon domain to another domain?

Yes. Simply create the new cPanel account, then transfer the files and remove the old addon domain. (If the new cPanel is on the same server, then you must remove the Addon Domain as the first step. Don't worry, the addon folder will continue to exist.)

How do I get a new cPanel? You can either order a new cPanel from HostGator, or you can order a reseller account and create an unlimited number of cPanels.

Order a new cPanel? That means, order a Hatchling, Baby or Business account. For the domain, choose Existing Domain and use the name of your addon domain.

Jonathan Taufer
If I'm not renewing my main domain, but renewing all my addon domains, what happens to them in cpanel? Eg. I know they are actually www.addondomain.maindomain.com. Will this mess anything up?

Nothing will change in cPanel. The addon domains will continue to work.

However, your main (primary) domain and any URL that involves the main domain will stop working. So, www.addondomain.maindomain.com will not be accessible.

Jon cohen
If my some of my domains are currently separate, with separate Cpanels, can I make them addons? What will I need to do?

You will need to download your web files and backup your databases, and then terminate the cPanel account. Next, you must enter the existing cPanel and add the domain as an addon domain.

Next, you must upload the web files to the new addon directory. Then you must restore your databases in the new cPanel.

Finally, you must recreate any emails, FTP accounts, subdomains, cron jobs, etc.


I first created a primary domain in hostgator as primary.biz (for example).

Then I went and registered a domain called secondary.com (for example), through registryrocket, and the domain server names are ns1.hostgator.com and ns2.hostgator.com.

Then I added secondary.com as an addon domain to primary.biz. But when I type http://www.secondary.com on my browser it still does not seem to recognise the URL!

Only if I type http://secondary.primary.biz or http://primary.biz/secondary.com it brings up the secondary website.

So what do I need to do if I want to directly access it as www.secondary.com and not get the primary domain displayed whatsoever?

Thanks for your time.

First, make sure you are using the correct name servers. They are never ns1.hostgator.com and ns2.hostgator.com, so please check your welcome email, again.

Second, you may need to wait up to 48 hours for the name server changes to completely resolve.

I am setting up the reseller package for my own use, as I have several small webites I would like to transfer onto Hostgator.
I have read the tutorials, but I am still confused on the seperation of the domains.
Hostgator ask for a Primary Domain, which I presume is one that I will be happy to keep re-registering for the lifetime of the package? What would happen if it lapsed?

As this primary domain is used as the root domain does it matter what extension it is (.com or .co.uk etc) which could effect the search results? I ask this as in Google Webmaster Tools > Geography page it mentions how they use these extensions to optimise results on country specific web searches. So would this Primary Domain extension have a bearing on the addon domains?
Thank you for your time.

The primary domain is the one recognized by HostGator as the domain provided during signup.

It is also the only domain name associated with your billing (one primary domain per hosting plan).

Please ask your specific questions in live chat or on the phone.

Does addon domain has any bad effect for SEO?
Thank you

There are no negative effects on SEO caused by Addon domains.

However, an addon domain cannot have its own unique IP address; it will always have the same IP as the primary domain. Remember, there is no benefit when linking between two sites on the same or similar IPs.

How can I configure cPanel to host all content currently in the root folder to host it from a subfolder, just like a parked domain?

In other words, I would NOT like the secondary domain to be accessible from http://www.primary.com/secondary.com nor have Google or other bots find this "backdoor" association to the secondary or any future domains?

Additionally, is there any way to do this without a "shortcut" method that shows up in the browser URL? ie: one suggestion was to ask the HostGator admins to configure the domain name to point to "/foldername" instead of "/" but the resulting URL would be http://www.primary.com/foldername.

Thanks for your help

You cannot change the document root of the primary domain, as stated in the "Document Root Changes" article.

However, I have an advanced trick for you! When you create your addon domains, choose the Document Root for those to be outside of public_html (erase "public_html/").

New Domain Name: addondomain.com
Document Root: public_html/addondomain.com

Change that to...
Document Root: addondomain.com

Now when you create it, the addon domain cannot be seen as part of the primary domain, even by those who know the site structure.

M P Griffin
I have recently registered an addon domain and installed wordpress to it through fantastico. I can only access it if I type in http://primarydomain.com/addondomain.com.

When I just type in addondomain.com it says the server was not found. What is my issue here?

You must update the addon domain's name servers (do this at the registrar where you bought the domain name). Use the same name servers as you used for your primary domain.

If you still have no success, please contact us via email, phone or live chat for assistance.

i have an addon domain sharing the same hosting with a primary domain; i find it hard to access the website through google search results. the google search results rank my domain high, but when i click the link the i get a message about an attack page.

the site loads well when typed in the URL box.

pls what do i do

You want the article titled "How to handle the Google Attack Page". It explains what you are seeing.

I created an addon domain and redirected a URL I have with another hosting company to my addon domain with HostGator. The problem I encountered is that whenever I click on a link within the new website it will show the primary domain in the URL: www.subdomain.primarydomain.com instead of just the subdomain.com

Will the answer posted on June 30 solve my problem? If so, how can I change its document root after I already created the site?

If the answer posted on June 30 doesn't solve my problem, then what will?

That could work, if we are talking about an Addon domain.

However, this sounds more like a webdesign problem. You may need to change the "href" in your HTML hyperlinks. I suggest using an absolute path to ensure the correct domain name is used.

I hava a primary domain and an addon domain. I need my addon domain to use the same styling sheet (styles.css) that my primary domain uses. This is how I get my styles.css from my primary domain:

<link type="text/css" href="/_ext/styles.css" rel="stylesheet" />

When I try to do the same from my addon domain it does not work. Do you know how I can make this work properly?

Easiest solution is to put a copy of the /_ext/styles.css file in the Addon folder.

A better solution (so you only have one style sheet to modify for both sites) is to change the href (hypertext reference) value. I would try this...

<link type="text/css" href="../_ext/styles.css" rel="stylesheet" />

How can I check that my domain is setup as an addon domain?

Go into cPanel and check inside the Addon domains icon.

If you don't have access to the cPanel, then there is no way to know.

I have a domain on another hosting service that I want to transfer to my HostGator hosting account as an addon domian. Is there a definitive guide as to how to do this? I especially want to minimize email downtime.



Do you have to register the domain before you can add it to your hosting account as an add-on domain? When I click on the add-on domains in cpanel there is no mention of domain registration, it simply says to type in the domain name and password. I'm confused.

The cPanel may allow you to add the domain, regardless. However, if the domain is not registered, it won't display your site.

If I buy two domain, like MySite.net and MyBlog.net, I can instal both Joomla and Wordpress for different directory (in Baby Plan) and make some setup that MySite.net go to Joomla and MyBlog.net go to WordPress, right?

And if I want to add gallery to my main site (MySite.net is primary domain), I can use sub doman like gallery.mysite.net, right? (I have to install some gallery software to differen place/folder than Joomla of course and make gallery.mysite.net point to that gallery).

But can I use sub domain with addon domain like gallery.myblog.net?

Yes, it all works exactly as you described.

Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment