Black FridayWebsites from R499 R999, domain and first year of hosting included. Ends 30 November 2026.See the specials →
South African web hosting, domains, web design and SEO since 2009083 678 9831info@webdesignhostingsa.co.zaClient area

How to Create Subdomains in cPanel

Last updated 6 June 2026

Creating Subdomains

A subdomain is a prefix added to your main domain (e.g. shop.yourdomain.co.za or blog.yourdomain.co.za). Subdomains can host separate websites or sections of your site.

How to Create a Subdomain

  1. Log in to cPanel
  2. In the Domains section, click Subdomains
  3. Enter the subdomain name (e.g. shop)
  4. Select the domain from the dropdown
  5. The document root will be filled in automatically (e.g. public_html/shop)
  6. Click Create

Uploading Files to Your Subdomain

Upload your subdomain's files to the document root folder that was created. For example, if your subdomain is shop.yourdomain.co.za, the files go in public_html/shop/.

Installing WordPress on a Subdomain

You can install WordPress on a subdomain just like you would on the main domain. Use Softaculous in cPanel and select the subdomain as the installation location. See our guide: How to Install WordPress.