How To Create a subdomain
To create a subdomain, perform the following steps:
1 – Open cPanel (yourdomain/cpanel).
2 – Click on (Subdomains) from Domains section.
3 – Enter the desired prefix in the Subdomain text box.
4 – Select the desired main domain from the menu.
5 – Enter the home directory for the subdomain in the Document Root text box.
6 – Click Create.