How to create a subdomain in cPanel
A subdomain is an address like shop.example.com. It is a separate site with its own folder and is created in the same place as domains.
- Open "Domains" and click "Create A New Domain".
- In "Domain", enter the full subdomain name, for example
shop.example.com. - Clear "Share document root". The subdomain folder is filled in automatically -
/shop.example.com. - Click "Submit".

The DNS record of the subdomain is created automatically if the domain uses the hosting name servers. If DNS is elsewhere (registrar, Cloudflare), add an A record for the subdomain there, pointing to the account IP.

All tools work for a subdomain too: SSL, email, WordPress installation, PHP version.