cPanel guide
How to Add a Subdomain in cPanel
In short
In cPanel, open Domains > Domains, click Create A New Domain and enter the full subdomain, such as blog.yourdomain.co.uk. Untick Share document root, keep the suggested folder and click Submit. If your domain uses our nameservers, cPanel adds the DNS record for you.
A subdomain is a separate section under your main domain, such as blog., shop. or staging., with its own folder and its own files. Subdomains are also a good home for a staging copy of your site.
1. Log in to cPanel
The quickest way in is from the Client Portal: open Services > My Services, choose your hosting package and click Log in to cPanel. You can also go to https://yourdomain.co.uk:2083 and sign in with your cPanel username and password.
2. Create the subdomain
In the Domains section, click Domains, then Create A New Domain. Type the full subdomain, for example blog.yourdomain.co.uk. On older cPanel versions, use the Subdomains icon instead: enter blog and pick the domain from the list.
3. Choose its folder
Untick Share document root so the subdomain gets its own folder, and keep the folder cPanel suggests unless you have a reason to change it. Click Submit.
4. Check the DNS
If your domain uses our nameservers, cPanel creates the DNS record automatically and the subdomain works straight away. If your DNS is managed elsewhere, such as Cloudflare or your registrar, add an A record there for blog pointing at your server's IP address.
5. Add content and SSL
Upload files to the subdomain's folder with File Manager or FTP, or install WordPress into it with Softaculous. AutoSSL covers the subdomain once it resolves; run it from SSL/TLS Status if you don't want to wait. Then visit https://blog.yourdomain.co.uk to check.
UK cPanel hosting
LiteSpeed servers with cPanel, free SSL, unlimited email and daily JetBackup backups, from £2.50 a month.
See hosting plansQuestions
What is a subdomain used for?
Running a separate section or app under your main domain, such as blog.example.co.uk, shop.example.co.uk or staging.example.co.uk, each with its own files.
Does a subdomain need its own DNS record?
Yes, but if your domain uses our nameservers cPanel adds it for you. If your DNS is hosted elsewhere, add an A record there pointing at your server.
Can I point a subdomain at a different folder?
Yes. You choose its folder (document root) when you create it, separate from your main site.
How many subdomains can I create?
As many as you need on any of our hosting plans.