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.

This entry was posted in Tips & Tricks. Bookmark the permalink.
  • Tony Kammerer

    Very nice tutorial

  • @mariorodriguez 

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

  • 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

  • Madhab

    EmailOcean is a brand new platform to cater to your email marketing needs.

    It has been launched under the patronage of KOONK TECHNOLOGIES PVT. LTD. and is one of a kind platform for email marketing.

    There is not point in harping on about the advantages of email marketing,as at this point in time,email marketing is the sole way of marketing or promoting your product,service or message in an efficient and quick manner.

    EmailOcean provides you with the following advantages:
    Highly Economical: It provides promotional emailing at an amazingly low rate of $0.10 per 1000 emails. The customer only pay for what is utilised. This is the lowest price available for mass mailing.
    Web App to create and track campaign: The brilliance of EmailOcean lies in it making the process easier and faster for the customer,as compared to Amazon and Sendgrid, EmailOcean has a beautiful Web-app which makes creating and sending the campaign a lot more easier. Using this web-app one can also send and track their campaigns and get detailed analytics.You can see the users who have opened, clicked, unsubscribed and bounced.
    Inbox Deliveries: Their inbox delivery rate is phenomenal.
    Excellent Support: They also provide a support staff that is available at your beck and call 24*7.

  • Tech Blis

    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.

  • Darren Foreman

    Thanks for the tutorial.

  • Rabia Ahmed

    can i make another root account in my cpanel?

  • sayseee

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

  • De-invisible Quame Yankyera Se

    thank you for your article

  • Zeeshan Riaz

    GReate One GTA Addiction

  • Nicola Hannigan

    excellent tutorial, thanks :)