How to create subdomain.
Login to your cPanel and find the “Domains” section.
You will see an option called “Add Subdomain” or something like this.
Simply click on that, and now you will see 3 fields.
You have to write your subdomain name there, and you need to select the main domain, which is the parent domain that you already added to this cPanel. If you didn’t add it yet, then click here for guidelines.
In the 3rd box, you can see the subdomain directory that you may create already.
You have done.