> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ex2.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to create a subdomain in cPanel?

# Here's how to create a subdomain in cPanel 

1. [Log into your cPanel account](https://help.ex2.com/en/article/how-to-log-in-to-my-cpanel-account-xyoqm0/?bust=1676305236426).

2. In the Domains section of your [cPanel control panel](https://help.ex2.com/en/article/what-is-cpanel-vq3toz/?bust=1784206091492), click the Domains icon.

![](https://storage.crisp.chat/users/helpdesk/website/52421894134f0400/cpanelex2domains_sss08n.jpg)

3. On the right of your screen, click the Create a New Domain button to open the creation window.

![](https://storage.crisp.chat/users/helpdesk/website/52421894134f0400/cpanelex2domains2_1bqgd9j.jpg)

4. Below Create a New Domain, enter the subdomain you want to use. 

5. Ensure that the Share document root is not checked (this would create a redirect). Under Document Root, you must enter the name of the directory you want to use.

![](https://storage.crisp.chat/users/helpdesk/website/52421894134f0400/correction1_1cr4ddk.jpg)

6. Click the submit button at the bottom of the window. 

If the subdomain is successfully added, you will see a confirmation message appear.