To create a subdomain in cPanel, follow these instructions:
- Log into your cPanel .
- Go to Domains Section , Sub Domains menu.
- Enter the following details for your subdomain:
- Subdomain: the name of your subdomain
- Domain: choose the domain name you wish to create subdomain for from this drop-down menu
- Document Root: the root directory for your subdomain (for example, it can be /public_html/subdomain)
- Click on Create: