In order to create a subdomain in your cPanel account :
Step 1 – Log in your cPanel
Step 2 – Navigate to the menu Subdomains under the Domains section
Image may be NSFW.
Clik here to view.
Step 3 – Enter the following details for your subdomain
Subdomain : The name of your subdomain. Choose the domain that you need to create a subdomain from the drop-down menu
Document Root : The root directory for your subdomain ( for example, it can be /public_html/subdomain )
Image may be NSFW.
Clik here to view.
Step 4 – Click on Create.