How to Add Addon Domains and Subdomains in cPanel in 2024

In the world of web hosting, cPanel is a widely used control panel that simplifies the process of managing your website. Among its many features, cPanel allows you to add addon domains and subdomains to your hosting account.

This article will guide you through the process of adding both addon domains and subdomains in cPanel in 2024.

What are Addon Domains and Subdomains?

Before we dive into the steps, let’s first understand what addon domains and subdomains are. An addon domain is a fully functional domain that can be created from within your control panel. Think of it as having multiple hosting packages all sharing the same control panel.

On the other hand, a subdomain is a subsection of your website that can exist as a new website without a new domain name. Use subdomains to create memorable URLs for different content areas of your site.

Adding an Addon Domain

Here are the steps to add an addon domain in cPanel:

  1. Log into your cPanel account. This is usually done by entering your domain followed by ‘/cpanel’ in your web browser.
  2. In the cPanel dashboard, click on “Domains” under the “Domains” section.
  3. Click the “Create A New Domain” button.
  4. Enter the domain name you want to add in the “Domain” text box.
  5. Deselect the “Share document root (/home/username/public_html) with “domain.tld” option. This ensures that the addon domain has its own document root separate from the main domain.
  6. Enter the directory where you want the files for this domain to exist. This is usually a folder within the ‘public_html’ directory.
  7. Click the “Submit” button to add the domain.

Adding a Subdomain

The process of adding a subdomain is similar to adding an addon domain:

  1. Log into your hosting cPanel dashboard.
  2. Navigate to the Domains section, then click on “Domain”.
  3. Look for the “Create a New Domain”, then click on “Create a New Domain”.
  4. Enter the domain that you would like to create.
  5. If you select the “Share Document Root” option, whether you are creating a subdomain or addon domain, it will automatically link to the primary domain.
  6. If you want to create a subdomain or an add-on domain that is independent from the main domain, then you have to deselect the “Share Document Root” option.
  7. Click on “Submit” button to add a new domain.

By following these steps, you can easily add addon domains and subdomains to your cPanel account. Remember, the exact steps may vary slightly depending on the version of cPanel you are using.

Always refer to the official cPanel documentation or your hosting provider’s instructions for the most accurate information.

Leave a Comment