Create a subdomain in cPanel
A subdomain is a method of creating a sub section or off shoot of your primary website. Subdomains are similar to regular domain names except that they use your main domain name as a base. For example, if your domain is domain.tld a sub-domain of your domain might be blog.domain.tld.
Follow the instructions below to create a subdomain in your cPanel Hosting Account.
- Log into your cPanel Linux hosting plan.
- Click the subdomains icon.
- Type in the name of your subdomain in the Subdomain field.
- Modify the Document Root field as required.
The document root is the directory on the server that you wish to point your subdomain to - Click [Create]
Create DNS A Record
If you DNS is hosted elsewhere you will need to create an A record for the subdomain pointing to the IP address of your hosting plan. If your DNS is hosted with Entity Data the appropriate DNS record should have been automatically created when you created the subdomain. However, it's recommended to double check this in the "DNS Zone Editior" of your cPanel account.