Log into your cPanel >> Domains section >> Subdomains menu.
cPanel Basic Theme
2. 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)
3. Click on Create.
The newly created subdomain should be available online within 5-10 minutes. However, it may take up to 30-40 minutes for the newly created record to fully propagate world-wide.