• Skip to main content
  • Skip to primary sidebar
  • Newsletter
  • Contact
  • About

The Spinning Donut

Helping People Use Technology

How To Create An Addon Domain

November 12, 2008 By Bill 54 Comments

When you sign up for your own web hosting account you typically receive x number of free additional domains.  This means you can host other websites (domains) on your one web hosting account.  These are called Addon Domains or Sub Domains.  We’ll be discussing Addon Domains for this post.

For example, with my HostGator account I pay for one site and get unlimited free additional sites (domains) that I can host on my one account.

So what does that mean?  Well, let’s take for example a main website called www.mymainsite.com.  When you install this site on your web hosting site, it can be located in the root folder which is /.

Control Panel (cpanel)

When you want to add another website to your hosting site, you would pick Addon Domain.  I’m using HostGator and the management tool called cpanel or Control Panel as it’s called.  Here is a screenshot of what the Addon Domain menu selection looks like.

After selecting Addon Domains you’ll be presented with the following screen.

After adding the my2ndsite.com to your main website, you’ll have a tree structure like this – /public_html/my2ndsite.  This is where you can add WordPress if that’s what you’re wanting to do.  So you have a WordPress installation in the root at / and one at /public_html/my2ndsite.

Fantastico

With cpanel under my HostGator account, I can use the Fantastico software tool to install another instance of WordPress.

Now that I’ve created an Addon Domain, when the WordPress install asks me what domain I want to install WordPress on, I can slect the my2ndsite.com domain.  The install directory would be left blank after selecting the my2ndsite.com domain.  This will install WordPress into the root of the Addon Domain my2ndsite.com.

The admin username and password asked for during the WordPress install is the username and password you will use when you want to administer WordPress on your my2ndsite.com/wp-admin.

The Site name is the blog title and the Description is the blog tag line that will show up under the blog title.

Name Servers

A Name Server is where you’re web hosting is located.  Although there’s more to a name server than that, I’ll leave it at that since all you really need to know for this task is where your name servers should be pointing to.

Let’s say you used GoDaddy to register your new domain name my2ndsite.com.  You need to go change the name servers from GoDaddy’s default name servers to your web hosting account name servers.

For example, let’s say the two default nameservers are nsx.godaddy.com where x is a number.  You would edit the name servers and change them to your name servers that you get at your web hosting site, which could be for example nsxxx.hostgator.com.

Now you and the rest of the world can browse to your new website www.my2ndsite.com.  Woo Hoo!!

Recap

  1. You have a main site called www.mymainsite.com and you want to start another website using your current web hosting site because you can add unlimited domains.
  2. You create an Addon Domain called my2ndsite.com.
  3. You installed WordPress into my2ndsite.com.
  4. You change your domain’s name server to point at your my2ndsite.com domain located at your web hosting site.

Capiche? I know, clear as a bell.  Ask any questions if you need help in the comments or contact me using the contact form.

Filed Under: Blogging

Reader Interactions

Comments

  1. Free Domains says

    November 13, 2008 at 3:41 am

    Very nice tutorial, addon domains make it so much easier!

  2. Selinap says

    March 30, 2009 at 9:54 pm

    Let say we create the new folder (newdomainfolder) for the new domain (http://new-domain) in the root. People can still access http://old-domain/newdomainfolder/.

    Do you have any idea on how to avoid it?

    Selinaps last blog post..QuickTime 7.6 offline installer

  3. Bill says

    April 3, 2009 at 10:07 pm

    Sounds like a subdomain. That’s the way a subdomain would work.

  4. TigerTom says

    June 30, 2009 at 11:00 am

    It’s good to use a web host that’s not stingy with this sort of thing.

    [From memory] One trick you may not know is that you can add on the subdomain * to your site’s public_html folder. This should then allow unlimited subdomains pointing to that folder, if it works. You’d need some script trickery to make use of this (making different sites appear when each subdomain is called), but it’s interesting.

    The downside is that G00gle is _deeply_ suspicious of multiple subdomains with the same structure and similar content interlinking with each other, so be warned.

  5. Bill says

    June 30, 2009 at 11:54 pm

    @TigerTom: Yes, I remember the Google thing about subdomains. In fact, I remember some folks saying that Google didn’t like subdomains at all. I thought certainly we’re not expected to go out and buy a hosting plan for each domain we create. IOW, Domain1 – $9.99/month, Domain2 – $9.99/month, etc. From my experience, seems like popular content wins the day over Google punishing for multiple subdomains. Now the interlinking stuff might be a different story – depending to what degree of interlinking between subdomains.

  6. Annie Cook says

    July 22, 2009 at 6:14 am

    Thank you for this refresher tips. I missed wordpress installation step but you saved the day, when I had to add a new domain to my current one.

    Interlinking: what if our sites are not used for the purpose to integrate other topics? For instance, if you have real estate, you might need another forum site for the customers. Is it not safe to interlink, especially if you are actually doing it to cater to the needs of your own customers?

    Annie Cooks last blog post..Advice And Tips On Advice And Tips

  7. SGSE says

    September 5, 2009 at 5:13 am

    I’m trying to add subdomains to my main site but am wary about Google being stingy about stuff like this. Are they taking any actions on those who have subdomains?

  8. Bill says

    September 5, 2009 at 3:45 pm

    @SGSE: I don’t think they’re “taking action” on subdomains, it’s been said that mydomain.com/subdomain is better than subdomain.mydomain.com. But it depends. If you think that content is more important and back links are important, then you’ll do fine.

  9. Jackie Regalado says

    December 4, 2009 at 8:32 am

    Thanks for the very detailed explaination,adding a second domain is now much easier to understand.

    Thanks

    Jackie

  10. Debby Hallett says

    January 4, 2010 at 2:40 pm

    Thanks for your top-notch, clear and correct instructions for adding an addon domain. It worked a treat, first try! I appreciate your site.
    Cheers,
    Debby

  11. inteview papers says

    February 20, 2010 at 1:04 am

    thanks it was quite useful as I was looking for add on domains configuration

  12. Mikey says

    February 25, 2010 at 1:34 am

    Thanks!

    I was scratching my head today, wondering my I couldn’t log into wp-admin after fresh wordpress install on my addon domains…

    Turns how I hadn’t transfered my DNS names yet with my webhost!

    Thanks for the tutorial, helped me out!!

  13. bloggersdiary says

    April 20, 2010 at 1:56 am

    Are you sure google punishing for multiple subdomains ? i don’t know about it.

  14. Sean says

    April 21, 2010 at 11:30 pm

    Let’s say you have two add-on domains, hosted on your hostgator plan: my2ndsite.com, and my3rdsite.com
    You want to install wordpress on both of these domains. If you do an auto install through fantastico, hostgator will neglect to create separate databases for the unique installations of wordpress. This is problematic for many reasons. For instance, should you choose to uninstall wordpress on my2ndsite.com, Fantastico will wipe out the previously created wordpress database, and both wordpress installations will be gone forever.

    Work around?

  15. get back your ex says

    April 30, 2010 at 10:51 am

    well great presentation for doing your subdomain / addomain . already did it and went good!

  16. Iseng Ngeblog says

    May 3, 2010 at 1:07 am

    But how if I want to change main domain that have installed with addon domain, because i want sell my primary domain

  17. Online Headshop says

    May 12, 2010 at 2:02 pm

    The best instruction to get a subdomanin. thx for tips!

  18. maik says

    May 13, 2010 at 4:12 am

    Very tutorial it is i was not awire about the ADDON DOMAIN !
    this will really helpful for managing my domain in a good manner.

    Thanks for this fantastic post.

  19. Ecitis says

    May 15, 2010 at 6:35 am

    Thanks for you tips, because I’ll buy hosting that offered unlimited domain and I want to use addon domain to register my others domain,

  20. blogb4 says

    June 3, 2010 at 9:22 am

    Can you tell me, what if i don’t renew domain that i registered at hostgator as primary domain, then what happen with my addon
    thanks

  21. cirrusdance says

    June 20, 2010 at 7:10 am

    Nice, i host at hostgator and till now i have 10 addon and so far so good

  22. Heather says

    June 21, 2010 at 7:24 am

    I always find your tutorials extremely easy to follow. Thank you for this. What I would like to know is whether you’ll be doing a tutorial on this for use with WordPress 3.0 multi-sites?

    I have a second blog set up through my primary domain, which I did using WP 3.0. I set up wildcard subdomains on Hostgator, and then just modified my wp-config.php and .htaccess files. So I have my main site: “maindom.com” and I just set up “subdom.maindom.com”.

    I have also just purchased a second domain “seconddom.com” via GoDaddy and am hosting it via Hostgator. I want this to also run through the single installation of WP 3.0. I know that are domain mapping plugins for separate domains, but if I add the domain through Added Domains, it is effectively creating a subdomain: /public_html/seconddom.com, so I’m not sure how I would go about setting up a new blog on “seconddom.com”.

  23. AndyN says

    August 11, 2010 at 7:24 am

    I have just added two new domains and found this very helpful. But I wish I had understood this when I set-up my hosting account as I would have used a different domain name as “mymainsite”.

  24. Bill says

    August 11, 2010 at 7:28 am

    @AndyN: A feeling shared among many. You can always start over, depending on how long your site has been up, or open up another hosting account on a different host, move your current site to that and do 301 redirects.

  25. Peter says

    August 22, 2010 at 3:23 pm

    Thank you for the tutorial, I kept wondering about it every time I login to my website panel.

  26. David C. says

    August 24, 2010 at 8:52 am

    I also used HostGator and Fantastico tool to create my new website. An add on with wordpress will be place as a domain too. I like your tut. I was guide for someone else in creating my own but now i know where i can take some more information on. Thank you Bill!

  27. Classic car insurance online quote says

    September 19, 2010 at 6:25 am

    Thanks for manual. It’s simply.

  28. Carpentry and Joinery says

    September 29, 2010 at 8:54 am

    Thank you very much to showing how to create an add on domain. I tries this out and it worked! It was a success, all thanks to your post. You have saved me time! Much appreciated and hope to read more of your blogs.

  29. Abhigyan says

    October 2, 2010 at 11:57 am

    I am also using Hostgator with Cpanel, I must say that your tutorial gave me a confidence to implement new domain with my existing domain.
    Thanks a lot for clear and organized document.

  30. Sergey says

    October 17, 2010 at 9:28 pm

    I worked with russian hostings before. Now, I’m in states. And this article very interesting for me. Good information. Thank’s.

  31. Art says

    October 18, 2010 at 10:12 pm

    Wow. Thanks so much. I actually have hostgator and am paying for one domain, but I want to upgrade to the baby plan so I can have unlimited domains. Now I know how. Thanks again!

  32. The finance says

    October 27, 2010 at 12:08 am

    So that’s how easy it is to create add-on domains in your cPanel account. So once you create an add-on domain, then you just need to upload the files to the correct folder that matches your add-on domain.

  33. Peter Dommanschet says

    November 1, 2010 at 8:44 am

    Am also hosting with Hostgator and I didn’t even know that I can have more than 1 domain for the same price! Just added a new domain. Thanks.

  34. Ech0 says

    January 7, 2011 at 5:01 am

    I got two additional domains with the hosting i purchased for my site. In truth i had no idea what to do with them until I read this article. They’ve been say dormant for nearly three months. I know what i’m doing this afternoon now!

  35. Hementh says

    February 4, 2011 at 6:25 pm

    When I add a domain, why is a subdomain also created for my default domain

  36. GustoAds says

    February 10, 2011 at 12:55 am

    I recently bought a domain on hostgator. So far, I didn’t encountered any problem yet. I really like their quick support and service.

  37. Sara says

    March 8, 2011 at 3:07 pm

    Thanks, exactly what I need it! Did I say thanks!?

  38. Mark Bunge Clive PC Repair says

    March 8, 2011 at 6:01 pm

    This is a great way to give a buddy a free website for something like his lawn care business or their food blog without any cost to them or you.

  39. bean william - best wireless printer says

    March 11, 2011 at 2:01 am

    Fantastico with wordpress is really ease me to install wordpress for my new domain. In the past, I usually set up it manually. My bad.

  40. référencement Montpellier says

    March 25, 2011 at 9:17 am

    and no instructions for htaccess ?
    Thank you for the method

  41. joki says

    March 29, 2011 at 9:30 am

    Each of the add on domains will have a separate .htaccess file. I do not really care about the .htaccess of the main domain. It may affect the addon domain if not properly configured. What I do is not to use the root folder.

  42. bodybuilding says

    April 6, 2011 at 7:08 pm

    Also don’t forget to set you stats program for the new domain.

  43. diy Solar panels man says

    April 7, 2011 at 3:31 am

    I use add on domains for all but one of my website and many of them are the first page of google. host gator is also very reliable hosting provider.

  44. Andr says

    April 16, 2011 at 1:25 am

    I try this on my site+blog. No changes.

  45. Natural ADHD says

    May 21, 2011 at 4:31 pm

    addon/Subdomain is good when you need a way to organize content sections within a large website and large content website. like for example http://www.cnn.com uses subdomains extensively in their website.

  46. ramciv says

    June 6, 2011 at 9:19 pm

    wow thanks you:) very informative post.. gonna share this on my fb wall

  47. Steve says

    October 15, 2011 at 3:35 am

    Man – thanks for putting this up. I am brand new to affiliate marketing, brand spanking new, and anything involving a website. Truthfully learning as the days pass. I had no idea your web host night host more than one site. I am broke as is the rest of America so when I purchased a year of hosting from bluehost I thought that was about all I needed to do even though I had another site I wanted to start working on (couldn’t afford anohter year long hosting subscription.) Off to that cpanel to see if they host more than one. Thanks again. Here is my one site link, ha ha. Just like they told me to.

    Steve
    side effects of creatine

  48. Varghese David says

    January 5, 2012 at 5:12 am

    It is really great to see a clear & step-by-step guide on how to create an add-on domain. It will be a great help to the new entrants in the web publishing space.

  49. Kenneth says

    February 23, 2012 at 4:39 am

    Wow, thanks for this blog, this what Im looking for 1 account then add sub domain or add on domain so that I can manage my site in one account.

  50. Nikolay says

    March 29, 2012 at 3:33 am

    Also keep in mind that every new add on domain creates automatically another subdomain as well. So do not wonder why you have new subodmains and do not try to remove them. Also know that the folder for the new add on domain is not treated as a root folder for the new website. So it has its own .htaccess file and its own robots.txt file.
    Regards.

Newer Comments »

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Get Exclusive
Tech Tips

Learn tech topics
with exclusive tips and insights
that I only share with my private
newsletter subscribers.

Popular YouTube Videos

  • An Introduction to Ubuntu 8.04 (over 50,000 views)
  • Running Self-Hosted WordPress - 1 of 3
  • Running Self-Hosted WordPress - 2 of 3
  • Running Self-Hosted WordPress - 3 of 3

Subscribe to my YouTube Channel


YouTube Channel

Categories

Copyright © 2026 · Privacy Policy and Disclaimer · Hosting by HostGator