User Agents

Web browsers and everyday web tech, explained

How to Add an Addon Domain in cPanel

· 4 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

An addon domain allows you to host multiple websites from a single cPanel hosting account, each with its own domain name, email accounts, and file directory. This feature is ideal for managing several websites without purchasing separate hosting plans. Before adding an addon domain, ensure your hosting provider supports this feature and that you have access to cPanel.

What You'll Need

  • An active web hosting account with cPanel access
  • A domain name you own or plan to register
  • DNS control for the domain (if not registered through your host)
  • FTP or file manager access to upload website files
  • Basic understanding of domain names and web hosting

Step-by-Step

  1. Log in to your cPanel account. Access your hosting provider’s website and navigate to the cPanel login page. Enter your username and password to proceed.
  2. Locate the Addon Domains section. Scroll down to the "Domains" category and click on "Addon Domains." This tool is usually labeled clearly and may appear alongside options like "Subdomains" and "Parked Domains."
  3. Enter the addon domain name. In the "New Domain Name" field, type the full domain you want to add (e.g., example.com). Do not include "www" or "http://".
  4. Set the document root directory. cPanel will automatically suggest a folder name (e.g., public_html/example). You can accept this or customize it. This folder will store all website files for the addon domain. Ensure the name is unique and not already in use.
  5. Create a password (optional). If your hosting provider requires a password for the addon domain’s FTP access or database, enter one. Some hosts skip this step if credentials are managed separately.
  6. Click "Add Domain.\" After filling in the fields, click the button to confirm. cPanel will create the domain, set up the directory, and configure DNS settings if applicable.
  7. Verify domain propagation. Wait a few minutes, then visit the new domain in a browser. If the site doesn’t load immediately, wait up to 4 hours for DNS changes to propagate globally.
  8. Upload website files. Use the File Manager or FTP client to place your website’s HTML, CSS, and media files into the document root folder you created (e.g., public_html/example).
  9. Configure email accounts (optional). Return to cPanel and use the "Email Accounts" tool to create custom email addresses (e.g., info@example.com) for the new domain.
  10. Set up databases (if needed). If your site uses MySQL (e.g., WordPress), create a new database and user under "MySQL Databases" and assign privileges as required.

Common Mistakes

  • Using a domain already linked to another account. Ensure the domain isn’t already active under a different hosting provider or cPanel account.
  • Choosing a conflicting directory name. Avoid using folder names that already exist or are reserved (e.g., public_html/blog if blog is a subdomain).
  • Forgetting DNS settings. If the domain is registered elsewhere, update the nameservers to point to your hosting provider.
  • Typing errors in the domain field. Double-check spelling and avoid adding "www" or "https."
  • Not uploading files to the correct directory. Files must go into the document root folder specified during setup.

Tips

  • Use descriptive folder names. For clarity, name your document root after the domain (e.g., public_html/mywebsite).
  • Keep backups. Before making changes, back up existing files and databases.
  • Test locally first. Upload and test your site locally before linking it to the domain.
  • Monitor resource usage. Hosting plans often limit bandwidth and disk space—adding multiple domains can exceed these.
  • Use subdomains for staging. Create a subdomain (e.g., dev.yourmaindomain.com) to test sites before going live.

Troubleshooting

If your addon domain doesn’t work as expected, follow these steps:

  • Site shows a placeholder or error. Check that files are uploaded to the correct directory. Confirm the index.html or index.php file exists in the root folder.
  • Domain not resolving. Verify nameservers are correctly set. Use a tool like whatsmydns.net to check global DNS propagation.
  • "Domain already exists" error. The domain may be listed as a parked or subdomain. Remove any conflicting entries before retrying.
  • Access denied or 403 error. Check file permissions. Directories should be set to 755, files to 644. Correct via File Manager or FTP.
  • Email not working. Ensure MX records are correctly configured in cPanel under "Email" settings. Test sending a message from the new account.
  • SSL certificate missing. Use the "SSL/TLS" section in cPanel to install a free Let’s Encrypt certificate for secure HTTPS access.

Frequently Asked Questions

Can I add multiple addon domains to one account?

Yes, most hosting plans allow multiple addon domains. Check your provider’s limits on domains, bandwidth, and disk space.

Do I need to register the domain first?

Yes, you must own the domain. You can register it through your host or a third-party registrar before adding it.

Will my addon domain share resources with my main site?

Yes. All addon domains use the same hosting plan’s resources. Monitor usage to avoid overages.

Can I remove an addon domain later?

Yes. Use the "Remove" option in the Addon Domains section. This deletes the domain link but not the files—back up data first.

Is there a cost for adding an addon domain?

Usually no, but your hosting plan must permit it. Some providers charge extra for additional domains.

Does an addon domain need its own hosting plan?

No. The purpose of an addon domain is to host multiple sites under one cPanel account without separate plans.