Key takeaways
- Create subdomains in Domains with their own document root.
- Add an A record if DNS is hosted elsewhere.
- Run AutoSSL after creating the subdomain.
A subdomain is a prefix on your domain — blog.example.com, shop.example.com — that can host a separate site or app.
Create it
- Open Domains → Domains and click Create A New Domain.
- Enter the full subdomain, e.g.
blog.example.com. - Untick Share document root if you want it to have its own folder, and set the Document Root (for example
blog.example.comorpublic_html/blog). - Click Submit.
On older cPanel versions, use Domains → Subdomains instead.
Create A New Domain
DNS
If your domain uses this server’s nameservers, cPanel creates the DNS record automatically. If DNS is hosted elsewhere, add an A record for blog pointing to your server’s IP address at your DNS provider.
SSL
Run SSL/TLS Status → Run AutoSSL so the new subdomain gets a certificate. It must resolve to your server first.
Install a site
Upload files to the subdomain’s document root, or use an app installer and choose the subdomain as the install location.