User Agents

Web browsers and everyday web tech, explained

How to Add an Addon Domain in cPanel

· 5 min read · Extensions

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Adding an addon domain allows you to host a second website from the same cPanel account, each with its own domain name, email accounts, and file directory. This is ideal for managing multiple websites without needing separate hosting plans. Before proceeding, ensure your primary hosting account supports addon domains and that you own the domain you want to add. You’ll also need access to the cPanel control panel and basic knowledge of domain management, including DNS settings.

What You'll Need

  • Active cPanel hosting account with addon domain support
  • Domain name you own (registered with a domain registrar)
  • Access to the domain’s DNS settings (usually via your registrar)
  • FTP or file manager access (optional, for content upload)
  • Basic understanding of web hosting terminology (e.g., document root, DNS, A records)

Step-by-Step

  1. Log in to cPanel: Navigate to your hosting provider’s website and log in to your cPanel dashboard. The URL is typically in the format yourdomain.com/cpanel or provided by your host.
  2. Locate the Addon Domains section: In the Domains section of cPanel, find and click Addon Domains. This tool lets you link a new domain to a subdirectory in your account.
  3. Enter the new domain name: In the New Domain Name field, type the domain you want to add (e.g., secondwebsite.com). Do not include www or http://.
  4. Confirm the subdomain and document root: cPanel will auto-fill a subdomain (e.g., secondwebsite@yourprimarydomain.com) and suggest a document root (e.g., public_html/secondwebsite). You can change the document root if desired, but ensure it’s a unique folder not used by other sites.
  5. Set a password (if prompted): Some hosts require a password for the addon domain’s FTP access. Enter a strong password if this field appears, or skip if not shown.
  6. Click Add Domain: After reviewing the details, click the Add Domain button. cPanel will create the necessary DNS zone entries and folder structure.
  7. Wait for DNS propagation: The domain will now point to your hosting server. However, it may take up to 4 hours (and sometimes longer) for DNS changes to fully propagate across the internet.
  8. Upload website files: Use the File Manager or FTP client to upload your website files to the document root folder you specified (e.g., public_html/secondwebsite). The index.html or index.php file should be in this folder.
  9. Verify domain resolution: Visit the new domain in a browser. If you see your site or a default page, the addon domain is working. If not, clear your browser cache or try a different network.
  10. Configure email accounts (optional): Return to cPanel and use the Email Accounts tool to create custom email addresses (e.g., admin@secondwebsite.com) for your new domain.

Common Mistakes

  • Using an already active domain: If the domain is already pointing to another host or has active DNS records, conflicts may arise. Ensure the domain is either unlinked or its DNS is updated to point to your server.
  • Incorrect document root: Setting the document root to an existing folder (like public_html) can overwrite your main site. Always use a unique subfolder.
  • Forgetting DNS updates: If the domain is registered elsewhere, you must update its nameservers or A record to point to your hosting IP. Without this, the domain won’t resolve.
  • Typographical errors: Misspelling the domain name in cPanel can result in a non-functional addon. Double-check spelling before submitting.
  • Ignoring SSL setup: After adding the domain, don’t forget to install an SSL certificate via SSL/TLS in cPanel to secure your site with HTTPS.

Tips

  • Use descriptive folder names: Name your document root folders clearly (e.g., public_html/shop for an online store) to avoid confusion when managing multiple sites.
  • Monitor disk usage: Addon domains share your hosting plan’s resources. Keep an eye on disk space and bandwidth to avoid overages.
  • Back up regularly: Since multiple sites share one account, a single failure could affect all. Use cPanel’s Backup tool to schedule regular downloads.
  • Test locally first: Upload a test index.html file with a simple message to confirm the domain resolves before building the full site.
  • Use subdomains for staging: Consider using a subdomain (e.g., dev.yourdomain.com) to preview changes before pushing to the live addon domain.

Troubleshooting

If your addon domain isn’t working as expected, follow these steps:

  • Domain shows “parked” or default page: This means the files aren’t loading. Check that your index file is in the correct document root and named properly (e.g., index.html, not home.html).
  • DNS not resolving: Use a tool like whatsmydns.net to check global DNS propagation. If it’s inconsistent, verify your domain’s nameservers are set to your host’s (e.g., ns1.yourhost.com).
  • Error 404 on the new domain: This usually means the document root is misconfigured. In cPanel, go to Modify Addon Domain and confirm the correct folder is set.
  • Email not working: Ensure you’ve created the email account in cPanel and that the MX records for the domain point to your hosting server.
  • Changes not saving: Clear your browser cache or try a different browser. Some cPanel sessions hang due to cached data.

Frequently Asked Questions

Can I have multiple addon domains on one account?

Yes, most hosting plans allow multiple addon domains, limited only by disk space and bandwidth. Check your provider’s terms for exact limits.

Does an addon domain need its own hosting plan?

No. Addon domains use the same hosting account as your primary domain, sharing resources and server space.

How is an addon domain different from a subdomain?

An addon domain is a completely separate website with its own domain name (e.g., site2.com), while a subdomain is a prefix of your main domain (e.g., blog.yoursite.com).

Can I remove an addon domain later?

Yes. In cPanel, use the Remove option next to the domain. This deletes the DNS entries and document root, so back up files first.

Do I need to register the domain separately?

Yes. The domain must be registered through a domain registrar before you can add it as an addon domain in cPanel.

Will my addon domain have its own cPanel?

No. All addon domains are managed from the same cPanel as your primary domain. Each has separate file directories and email settings, but shares one control panel.