Create a subdomain in cPanel
To create a subdomain in cPanel, follow these steps:
1. Log in to your cPanel account.
Here’s how you can login to cPanel in Shared Hosting
2. In the “Domains” section, look for the “Domains” option and click on it.
![Domains](https://ultahost.com/knowledge-base/wp-content/uploads/2024/01/domains-1024x477.png)
3. Once you are on the Domains page, click on ‘Create A New Domain’ button
![Create a new domain](https://ultahost.com/knowledge-base/wp-content/uploads/2024/01/domain2-1024x332.png)
4. Under “Create a New Domain,” enter the desired subdomain in the “Domain” field. cPanel will automatically fill in the “Document Root” based on the subdomain you entered.
![Create a new subdomain](https://ultahost.com/knowledge-base/wp-content/uploads/2024/01/domain3-1024x500.png)
Optionally, you can modify the “Document Root” to set a custom directory for the subdomain.
Click on the “Submit” button.
Now, you’ve successfully created a subdomain in cPanel.