> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Using the cPanel Domains tool

> The cPanel Domains tool is the one stop for creating an managing domains, subdomains and aliases. this article shows you ow to use this handy tool.

The cPanel Domains feature is a one-stop tool to create and manage all of the domains, subdomains, addon domains, and aliases in your account. This article shows you how to work with all of these features.

## Starting the Domains tool

To start the cPanel Domains tool, follow these steps:

1. Log in to cPanel.
   > 📘 Note
   >
   > If you do not know how to log in to your cPanel account, please see [this article](/docs/accessing-cpanel).

2. On the **Tools** page, in the **Domains** section, click **Domains**:\
   ![cPanel - Domains - Domains icon](https://static.hosting.com/kb/kb-cpanel-jupiter-domains-domains-icon.png)

3. The following sections detail how to use each of the Domains tool features.

## Listing and searching

On the main page of the Domains tool is a list of all domains. You can use the **Search** box to find a specific domain if you have several:\
![](https://static.hosting.com/kb/kb-domains-list-search.png)

The domains list includes two options under **Actions** that enable you to manage existing domains. Click **Manage** to go to a domain's management page, or click **Create Email** to go to the **Create an Email Account** page.

## Managing existing domains

Click the **Manage** link to the right of a domain to open the management page:\
![](https://static.hosting.com/kb/kb-domains-management.png)

The management page includes options to change the document root for the domain and to delete the domain. (You cannot delete the primary domain.)

* To change the document root for a domain, type the new document root in the **New Document Root** text box, and then click **Update**.

* To delete the domain, click **Remove Domain**, and then click **Yes, remove this domain**.

The management page also includes options for [Create an Email Address](/docs/e-mail-accounts), [Create a Site with Site Publisher](/docs/cpanel-site-publisher), [Modify the Zones](/docs/using-the-cpanel-zone-editor) and [Modify the Redirects](/docs/redirects).

## Creating new domains

Besides managing existing domains, you can use the Domains tool to create new addon domains, subdomains, and aliases.

### Creating addon domains

To create an addon domain using the Domains tool, follow these steps:

1. From the Domains tool main page, click **Create a New Domain**. The **Create a New Domain** page appears:\
   ![](https://static.hosting.com/kb/kb-domains-create-addon.png)

2. In the **Domain** text box, type the name of the domain you want to add.

3. Clear the **Share document root** check box.

4. In the **Document Root** text box, type the directory you want to use, or use the directory suggested by cPanel.

   > 🚧 Important
   >
   > There are potential risks to placing the document root in subdirectories beneath an existing website. (For example, by hosting a site in the *public\_html* directory, and a site in a subdirectory beneath the *public\_html* directory.) Some of these risks are:
   >
   > * Websites in subdirectories can conflict with websites in the parent directories (particularly WordPress sites or sites that rely heavily on rules in *.htaccess* files).
   >
   > * Websites in subdirectories are more likely to be negatively affected if websites in the parent directories get hacked, or if there are malicious redirects.
   >
   > For these reasons, we recommend placing the document root for an addon domain in its own dedicated directory outside of the *public\_html* directory.

5. In the **Subdomain** text box, type a name to identify the new addon domain, or use the name suggested by cPanel.

6. Click **Submit.** Alternatively, click **Submit and Create Another** if you want to create more than one addon domain.

### Creating subdomains

To create a subdomain using the Domains tool, follow these steps:

1. From the Domains tool main page, click **Create a New Domain**. The **Create a New Domain** page appears:\
   ![](https://static.hosting.com/kb/kb-domains-create-subdomain.png)

2. In the **Domain** text box, type the name of the subdomain you want to add.

3. Clear the **Share document root** check box.

4. In the **Document Root** text box, type the directory you want to use, or use the directory suggested by cPanel.

   > 🚧 Important
   >
   > There are potential risks to placing the document root in subdirectories beneath an existing website. (For example, by hosting a site in the *public\_html* directory, and a site in a subdirectory beneath the *public\_html* directory.) Some of these risks are:
   >
   > * Websites in subdirectories can conflict with websites in the parent directories (particularly WordPress sites or sites that rely heavily on rules in *.htaccess* files).
   >
   > * Websites in subdirectories are more likely to be negatively affected if websites in the parent directories get hacked, or if there are malicious redirects.
   >
   > For these reasons, we recommend placing the document root for a subdomain in its own dedicated directory outside of the *public\_html* directory.

5. Click **Submit.** Alternatively, click **Submit and Create Another** if you want to create more than one subdomain.

### Creating aliases

Aliases (which were referred to as "parked domains" in earlier cPanel versions) are often used to reserve or hold a domain name that does not have an associated web site. To add an alias using the Domains tool, follow these steps:

1. From the Domains tool main page, click **Create a New Domain**. The **Create a New Domain** page appears:\
   ![](https://static.hosting.com/kb/kb-domains-create-alias.png)

2. In the **Domain** text box, type the name of the alias you want to add.

3. Select the **Share document root** check box.

4. Click **Submit.** Alternatively, click **Submit and Create Another** if you want to create more than one addon domain.

## Related articles

* [E-mail Accounts](/docs/e-mail-accounts)

* [Using the cPanel Site Publisher](/docs/cpanel-site-publisher)

* [Redirects](/docs/redirects)

* [Using the cPanel Zone Editor](/docs/using-the-cpanel-zone-editor)

* [Accessing cPanel](/docs/accessing-cpanel)
