Black FridayWebsites from R499 R1,450, domain and first year of hosting included. Ends 30 November 2026.See the specials →
South African web hosting, domains, web design and SEO since 2009BlogHelp CentreClient area

How to Create Subdomains in cPanel

Last updated 12 November 2026

A subdomain is an extra address in front of your domain, such as shop.yourdomain.co.za, blog.yourdomain.co.za or staging.yourdomain.co.za. It can run a completely separate website from its own folder, and it costs nothing extra because you already own the domain.

In current versions of cPanel you create subdomains in Domains > Domains > Create A New Domain. The old separate Subdomains page has been replaced by this tool. You type the full subdomain, untick Share document root so it gets its own folder, and click Submit.

Before you start

  • Your cPanel login. See how to log in to cPanel.
  • Decide on the name. Use lowercase letters, numbers and hyphens only, for example shop or client-portal.

How to create a subdomain

  1. Log in to cPanel.
  2. In the Domains section, click Domains. You see a list of the domains on your account.
  3. Click Create A New Domain. If cPanel asks what kind of domain you are adding, choose Registered Domain.
  4. In the Domain box, type the full subdomain, for example shop.yourdomain.co.za.
  5. Untick Share document root (the checkbox reads “Share document root with yourdomain.co.za”). If you leave it ticked, the subdomain shows exactly the same website as your main domain, and you cannot change that later.
  6. Check the Document Root box. cPanel fills in a new folder inside public_html, for example public_html/shop.yourdomain.co.za. You can change it, but it has to stay inside public_html.
  7. Click Submit, or Submit And Create Another if you want to add more.
  8. You should see a success message, and the subdomain appears in the Domains list with its document root.

On older cPanel versions you may still see a Subdomains icon in the Domains section. It works the same way: type the subdomain name, choose the domain, check the document root and click Create.

Put a website on the subdomain

The subdomain starts empty, so visitors see a blank page or a directory listing until you add something.

  • Install WordPress: open Softaculous or WP Toolkit, and when it asks for a domain, choose the subdomain (for example https://shop.yourdomain.co.za) and leave the directory empty. See how to install WordPress with Softaculous.
  • Upload your own files: put them in the subdomain’s document root using File Manager or FTP. The home page file must be called index.html or index.php.

DNS and SSL

If your domain uses our nameservers (ns3.za-dns.com and ns5.za-dns.com), cPanel adds the DNS record for the subdomain automatically. A new subdomain is not always visible straight away: it usually works within a few hours, but allow up to 24 to 48 hours.

If your domain’s DNS is managed somewhere else, add an A record there for the subdomain (for example shop) pointing to your hosting account’s IP address. You will find the IP under General Information on the right of the cPanel home page, or ask us. See understanding DNS records.

Once the DNS works, cPanel’s AutoSSL requests a free SSL certificate for the subdomain. Until then, your browser may show a security warning. See how to install a free SSL certificate.

Common problems

Problem What to do
The subdomain shows your main website Share document root was left ticked. Remove the subdomain from the Domains list (back up anything in its folder first) and create it again with the box unticked.
“This site can’t be reached” or “server not found” DNS has not updated yet, or the A record is missing at your external DNS provider. Wait a few hours, then check the record.
“Your connection is not private” The SSL certificate has not been issued yet. Wait for AutoSSL, or run it from SSL/TLS Status.
A blank page or “Index of /” The document root is empty. Upload your files or install an app into it.
cPanel says the domain already exists The subdomain is already on the account, or another account on the server uses it. Check your Domains list, then open a ticket if it is not there.

Frequently Asked Questions

Do I need to buy anything to use a subdomain?

No. Subdomains of a domain you own are free to create in cPanel.

Can I have email addresses on a subdomain?

Yes. Once the subdomain exists, you can choose it in the Domain menu when you create an email account. Most people find addresses on the main domain easier for customers to remember.

Is a subdomain good or bad for SEO?

Google treats a subdomain much like a separate site, so it builds its own rankings. For a blog that should help your main site rank, a folder such as yourdomain.co.za/blog/ is usually the better choice. Subdomains suit separate projects, such as a staging copy or a client portal.

How do I delete a subdomain?

In Domains, find the subdomain and choose Manage, then remove the domain. The files in its folder stay in your account until you delete them in File Manager.

Want to run several separate websites? See the multi-site plans on our web hosting page.

Need help?

Open a support ticket (you need to be logged in to the client area) or message us on WhatsApp from our contact page.