Assumes you've already logged in to cPanel Now let's learn how to create a sub-domain Under domain section Click on Sub-domains icon.
Enter the prefix of your new subdomain here
Make sure the domain name your subdomain will be associated with is selected
A directory name the same as your subdomain prefix will automatically appear… although you can change this if you want. When ready, click Create
A folder called "your folder name" has also been created, which is where you would upload files for this subdomain. It's located in the public_html directory, and can also be accessed like this.
From here you can manage the Sub Domain and also you can remove it.
This is the end of the tutorial. You now know how to create a subdomain in cPanel.