A subdomain uses an existing domain with a prefix change of the www to another title. This creates another website that contains its own unique content without an entirely new domain needed to be created. Assuming you own the domain already, a subdomain looks like mail.example.com or blog.example.com.
How do I Create a Subdomain in cPanel?
You can set up a subdomain in cPanel by heading to Home > Domains > Subdomains.
This simple guide will show you how to create and manage subdomains. Follow the instructions below to complete your setup.
In the Subdomain text box, enter the name you want for the prefix
Select the main domain you want to attach it to in the Domain dropdown menu
In the Document Root text box, the home directory should automatically populate. However, you can change the name here