cPanel® Blog

Managing Multiple Domains from a Single Hosting Account


Managing multiple domains from a single hosting account is relatively easy but will require you to correctly configure some DNS settings and create addon domains.

For this post, I’m going assume you’ve already registered a few domains and have access to your hosting interface via a main domain.

Before going any further, let’s specify some working examples:

  • — Our account’s main domain. This domain was set up for you by your hosting provider. In other words, we already control this domain.
  • — The domain we are going to add to our account.
  • — Our local server’s primary nameserver.
  • — Our local server’s secondary nameserver.
  • — The IP address our addon domain will use.

What is an addon domain?

Addon domains are a type of virtual hosting that allow you to manage multiple domains from a single hosting account. Addon domains share the hosting account’s resources with the main domain.

Why addon domains?

You can use them to save money. With addon domains, you don’t have to purchase an additional hosting account for each domain you operate. You can simply create addon domains and split your existing account’s resources.

Addon domains. How do they work?

Addon domains are subdomains that have their own, unique domain names.

Like subdomains, addon domains are stored in a subdirectory somewhere in your home directory. Essentially, visitors to your addon domain will be routed to this directory. You may specify the name and precise location of this directory when creating the addon domain. It’s not necessarily a requirement that an addon domain’s directory be in public_html, though it’s generally considered good practice.

In our example, the addon domain’s public_html subdirectory will be ~/public_html/

What do I need to do before creating the addon domain?

This is the difficult part. It’s difficult because I can’t possibly explain every domain registrar’s interface. I have; however, provided screenshots of my registrar’s interface below.

All we’re going to do in this step is change our addon domain’s primary nameservers at the registrar. We need to specify our local nameservers, in this case and This change can take a few hours, so be patient.

When changing your nameservers, you’re going to need to find the section of your registrar’s interface that looks like this:

Click to enlarge...

Clicking the Modify Servers link (or a similar link) will allow us to view and change the domain’s primary nameservers. Let’s specify the domain’s local nameservers ( and on the next page.

Click to enlarge...
Click to enlarge...

Once our nameservers are set up, we can create the addon domain.

How do I create the addon domain?

To create an addon domain, we can use cPanel’s Addon Domains feature, in the Domains section of the cPanel interface.

  1. Enter the addon domain’s domain name in the New Domain Name field. In this case, we will enter
  2. Ensure the FTP username is appropriate in the next field. In this scenario, we will leave it as its default value, cpdocs.
  3. Make sure that the document root is in the appropriate place. In this example, we will use the default value, ~/public_html/
  4. Enter and confirm the password you want to use with this domain in the appropriate fields. This password will be used for the domain’s MySQL and FTP accounts.
  5. Click the Add button.
Click to enlarge...

Verifying our DNS settings

We need to verify that the domain’s IP is set up correctly. We can use cPanel’s Advanced DNS Zone Editor to review and change DNS information. The IP address from our working example is

Click to enlarge...

We can see in the image above, that the information is correct. If the information is not correct, simply change the A record’s Address value by clicking the Edit button.

Click to enlarge...

Once the A record is properly configured, the DNS information will begin to propagate. This could also take a few hours, so remain patient. Once it has, the addon domain will be publicly accessible.

I’ve set up my addon domain! Now what?

Now we make a website about cats.

  • Whizboy

    Great article. You can get cheap domains and web hosting at

  • Marocgrafix

    Great post!

    If you need building website for ship price, contact me!

  • rajelect

    Even after following your instructions exactly, my addon domain resolves like whereas it should resolve straight like www. but that is not happening, can you help me out or tell me why this happens. TY

  • great help, thanks!

  • Thanks for your great tutorial. btw – it looks like you moved your images / uploads, you probably already know this, but I can’t see any of your images in your post… but the tutorial is still good enough, just with the text

  • DJ Coma

    Hi guys, nice tutorial, however I’m having an issue, my main account and hosting is connected to coma . lv. So I’ve created addon domain inside public_html/zhmible . com and there is domain zhmible . com. Everything works great, apart from fact, that when I go to zhmible . com I’m redirected to coma .lv/zhmible . com

    Is there a way to stay at zhmible . com?

  • Its really very informative article …

    thanks for sharing..

  • sbsolutions

    Many thanks.

  • What happens on shared hosting if someone on the same machine claims owning the same domain, too (adds it as an addon domain)? Can they serve content under my domain? Under which circumstances?

  • Abhay Nagpal

    Thanks for the helpful post!

  • Moses

    Great help. Thanks.

  • Nicola Hannigan

    excellent tutorial, thanks 🙂

  • Zeeshan Riaz

    GReate One GTA Addiction

  • De-invisible Quame Yankyera Se

    thank you for your article

  • sayseee

    Can the addon domains also be access seperately using cpanel? E.G in yours

  • Rabia Ahmed

    can i make another root account in my cpanel?

  • Darren Foreman

    Thanks for the tutorial.

  • Thanks for great tutorial, I am facing a problem of 404 cache page. also not even showing cached option in I am confused, the problem is in cpanel? is there any mistake from my side to mange my multiple domains?

    here is my domain and it is a root domain of my hosting. please help me out out.

  • andrian

    Hi, i was added the files for my new domain(add on) but when I tried to access it there’s lot of redirection like this

  • @mariorodriguez 

    Thanks Tony we try our best glad you enjoyed the blog post. 

  • Tony Kammerer

    Very nice tutorial