To create a subdomain in cPanel, follow these steps:
- Access your cPanel account.
Here’s how you can login to cPanel in shared hosting
2. Under the ‘Domains’ section, locate and click on the ‘Domains’ option.

3. On the Domains page, click the ‘Create A New Domain’ button.

4. In the ‘Create a New Domain’ section, enter your desired subdomain in the ‘Domain’ field. cPanel will automatically populate the ‘Document Root’ based on the subdomain you’ve entered.

Optionally, you can change the ‘Document Root’ to specify a custom directory for the subdomain.
Click the ‘Submit’ button.
You’ve now successfully created a subdomain in cPanel.