Subdomains can point to different sections of your website. In order to create a subdomain in your cPanel account, follow the next steps.
For cPanel Retro Theme:
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)
NOTE: 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.
You can also create a wildcard subdomain. Wildcard subdomains allow you to point all the subdomains (existing and non-existing ones) to a specific folder in your account.
It means that if you enter any subdomain in your browser (for example, test.domain.com – not existing, or blog.domain.com – existing), it will show the same content that you uploaded to the folder for the wildcard subdomain.
That's it!