For creating a sub domain please follow the below steps:-
- Log into your cPanel.
- Go to the Domains section and click on Subdomains.
- Type in the name of the subdomain and select the domain to create it under. It will automatically create a folder for the subdomain in your public_html folder.
- Click the Create button.