India English
Kenya English
United Kingdom English
South Africa English
Nigeria English
United States English
United States Español
Indonesia English
Bangladesh English
Egypt العربية
Tanzania English
Ethiopia English
Uganda English
Congo - Kinshasa English
Ghana English
Côte d’Ivoire English
Zambia English
Cameroon English
Rwanda English
Germany Deutsch
France Français
Spain Català
Spain Español
Italy Italiano
Russia Русский
Japan English
Brazil Português
Brazil Português
Mexico Español
Philippines English
Pakistan English
Turkey Türkçe
Vietnam English
Thailand English
South Korea English
Australia English
China 中文
Somalia English
Netherlands Nederlands

How to Create a Subdomain in cPanel

Build Something Beautiful

With a .Co.za Domain

Just R50 (Back to R99 in 7 days)

A subdomain is a prefix added to your main domain, such as blog.example.com.

It acts like a separate section of your website while remaining connected to your main domain.

Subdomains are useful for organizing content, testing new features, creating online stores, hosting support portals, or serving different regions and languages.

Learning how to create a subdomain gives you more flexibility to manage and grow your website.

While subdomains and subdirectories can both perform well in search engines, the right choice depends on your site’s structure.

If a section needs its own design, technology, or team, a subdomain is often the better option.

If it closely supports your main website, a subdirectory is usually the simpler choice.

Prerequisites Before Creating a Subdomain in cPanel

Before you start, check these boxes.

  • You need an active hosting account with cPanel access.
  • Your main domain must already be added and pointed correctly.
  • You should know the basics of File Manager or FTP. You’ll need this later, to upload content.
  • You need to understand DNS propagation. It usually takes 5–30 minutes. In rare cases, it can take up to 48 hours.

If you’re missing any of these, sort them out first. It will save you time later.

A quick note on DNS propagation, since it trips up a lot of first-timers.

Propagation is simply the time it takes for changes to spread across the internet’s DNS servers.

Your local internet service provider might update in minutes. Others further away can take longer. This is normal. It’s not a sign that something has gone wrong.

Don’t have hosting yet? You can open a domain with us and get cPanel access from day one. Check our domain and hosting prices to see which options fit your budget.

How to Create a Subdomain in cPanel

Now for the main process. This is how to create a subdomain in cPanel, step by step.

Step 1: Log into cPanel

Access cPanel through your hosting provider’s client dashboard. Or go directly to yourdomain.com/cpanel.

You’ll need your cPanel username and password. If you host with us, you’ll find these details in your welcome email or client area.

Step 2: Open the Domains Tool

Once you’re inside cPanel, look for the Domains section.

Click ‘Domains.’

How to Create a Subdomain

Click on ‘Create new domain.’

How to Create a Subdomain

This single screen handles subdomains, addon domains, and parked domains. Don’t worry. You’ll only fill in what a subdomain needs.

Step 3: Enter the Subdomain Name

Type the full subdomain you want. For example: blog.yourdomain.com.

Keep it short. Keep it relevant to what the subdomain will do.

Avoid reserved names. These include:

  • www
  • mail
  • ftp
  • cpanel
  • webmail

Reserved names are often already in use by your server. Using them can cause conflicts or errors.

Step 4: Set the Document Root

This step confuses a lot of first-time users. Here’s the simple version.

How to Create a Subdomain on cPanel

You’ll see a checkbox for ‘Share document root.’ This decides where your subdomain’s files live.

  • If you leave it checked, your subdomain mirrors your main site’s content.
  • If you uncheck it, your subdomain gets its own folder. Its content is independent of your main site.

For most use cases, uncheck this box. Blogs, stores, and staging environments all need their own space to work properly.

Leave it checked only if you have a very specific reason to mirror your main site.

Step 5: Click Submit

Once your details are set, click Submit.

A confirmation message will appear right away. But your subdomain won’t be live instantly.

Propagation usually takes 5–30 minutes. In rare cases, it can take 24–48 hours. Grab a coffee. It’s almost ready.

How to Upload Content to Your New Subdomain

Right now, your subdomain exists, but it’s an empty folder.

Nothing shows up until you add files to it. There are three ways to do that.

First, confirm your subdomain’s folder path

Before uploading anything, don’t assume the path. Depending on your hosting setup, cPanel may place your subdomain’s folder in one of two spots:

  • Nested inside your main site, like public_html/blog
  • Or as its own folder at the root level, like blog.yourdomain.com (sitting next to public_html, not inside it)

To confirm which one applies to you: in cPanel, go to Domains, find your subdomain in the list, and check the Document Root column. That tells you the path your files need to go into.

Via File Manager

This is the easiest method if you’re not comfortable with FTP.

How to upload content to new Subdomain
  1. In cPanel, open File Manager.
  2. Go to the folder you confirmed in the Document Root column; this could be public_html/blog or a standalone folder like blog.yourdomain.com.
  3. Upload your files directly here, using the Upload button in File Manager’s toolbar.

Everything you put inside this folder is what visitors will see when they open your subdomain.

Via FTP

This method is better if you’re uploading a large number of files at once, or you already have an FTP workflow set up (using something like FileZilla).

  1. Connect to your hosting account using your FTP credentials (host, username, password, port).
  2. Go to the same path: public_html/subdomain-folder.
  3. Drag and drop your files into that folder.

The destination folder is identical to the File Manager method; you’re just using a different tool to get there.

Using Softaculous (fastest option for WordPress)

If you want to run WordPress on your subdomain, skip manual uploads entirely.

  1. In cPanel, open the Softaculous App Installer.
  2. Choose WordPress.
  3. On the install screen, select your subdomain (e.g., blog.yourdomain.com) as the install location.
  4. Click Install.

Softaculous builds the WordPress files, creates the database, and connects everything automatically so your subdomain has a working site in a few minutes, without touching File Manager or FTP at all.

One thing to double-check either way: make sure you’re uploading into the subdomain’s folder, not the main site’s public_html root. That mismatch is the single most common reason a subdomain shows the wrong content, or nothing at all, once it’s live.

How to Set Up SSL for Your Subdomain

Every subdomain needs SSL. Without it, browsers will flag your site as ‘Not Secure.’

The good news: most hosts, including us, auto-issue free SSL certificates. This uses AutoSSL, powered by Let’s Encrypt. It happens automatically after DNS propagates.

If SSL doesn’t activate on its own:

You can manually trigger a check. In cPanel, go to SSL/TLS Status. Find your subdomain in the list. Click ‘Run AutoSSL.’

If it still doesn’t work:

  • Wait for DNS propagation to finish. SSL can’t issue until DNS is fully resolved.
  • Check your DNS records. Make sure your subdomain points to the correct IP address.

One thing to know: Let’s Encrypt enforces rate limits to keep its system fair for everyone.

The standard limit allows up to 50 new certificates per registered domain, per week, but renewals with the same set of names face a tighter cap of 5 per week.

If you’re repeatedly triggering AutoSSL on the same subdomain while troubleshooting, you can hit that renewal limit and get locked out for a few days.

Space out your attempts, and fix the underlying DNS issue first rather than re-running AutoSSL over and over.

How to Create a Wildcard Subdomain (Optional/Advanced)

A wildcard subdomain looks like this: *.yourdomain.com.

It catches every subdomain under your domain. This includes ones you’ve already created. It also includes ones that don’t exist yet.

When would you need this?

  • SaaS platforms that create a new subdomain for every customer
  • Multi-tenant sites where each user or client gets their own space

How to set it up:

The process is nearly the same as a regular subdomain. Go to the Domains tool in cPanel. Enter * as the subdomain prefix, followed by your domain.

This is an advanced setup. Most standard websites won’t need it. But if you’re building a platform with many user-generated subdomains, it saves enormous manual work.

A word of caution. Wildcard subdomains also catch typos and unintended requests.

Make sure your application logic can handle unexpected subdomain names gracefully, rather than throwing errors that confuse visitors.

If you’re building something at this scale, a shared hosting plan usually isn’t enough. This is where a VPS or dedicated server from us makes more sense.

You get the resources and control to manage wildcard subdomains, custom scripts, and higher traffic without slowing down your main site.

Common Errors and Troubleshooting

Even with the steps above, things can go wrong. Here’s a quick reference.

IssueLikely CauseFix
Subdomain shows “Not Found”DNS has not yet propagatedWait up to 24 hours. Check a DNS propagation tool.
SSL not workingCertificate not yet issuedRun AutoSSL manually, or wait for propagation. Remember the 5-per-week renewal limit on identical certificate sets.
Subdomain shows wrong contentDocument root misconfiguredRecheck the folder path in the Domains tool.
Can’t create subdomain, name taken/reservedUsing a reserved wordChoose a different prefix.

Most subdomain problems come down to one of these four issues. Work through this table before assuming something is broken on a deeper level.

Create a Subdomain Now

Creating a subdomain isn’t complicated. Log in. Open the Domains tool. Type your subdomain name. Set your document root. Click Submit.

That’s five steps. Most people finish in under ten minutes.

You can be launching a blog, testing a redesign, opening a store, or building a support portal; a subdomain gives you room to grow without disturbing your main site.

Ready to set one up? Open a domain with us, or check your current plan’s subdomain limits and pricing to get started today.

If your project is bigger than a simple subdomain, think of a full staging server, a multi-tenant SaaS app, or an automation workflow.

Our VPS and dedicated server plans give you the room to scale. We also offer OpenClaw hosting for AI agent deployments, AI Workers for automation tasks, and N8n Hosting if you’re building workflows that connect your subdomains to other tools.

Create a Subdomain in cPanel FAQs

Do I need to buy a new domain to create a subdomain?

No. A subdomain uses your existing domain. You don’t need to register or pay for a separate one.

How long does a subdomain take to go live?

Can I use a subdomain for email hosting?

Can I move a subdomain to its own hosting account later?

Does a subdomain hurt my main site’s SEO?

Is there a limit to how many subdomains I can create?

Read More Posts

How To Perform a Domain Name Search in South Africa Fast

How To Perform a Domain Name Search in South Africa Fast

Want a domain name? The faster you search, the better your chances of getting it.Domains are registered on…

ZA Domain Name Requirements

ZA Domain Name RequirementsZA Domain Name Requirements

Choosing a .za domain is one of the best ways to establish a strong online presence in South…

Truehost vs Afrihost South Africa 2026: Which Domain Registrar is Right for You?

Truehost vs Afrihost South Africa 2026: Which Domain Registrar is Right for You?

Choosing a domain registrar feels like a small decision, but it isn’t. Get it wrong, and you could…

Domain Registrar vs Registry: What's the Difference?

Domain Registrar vs Registry: What’s the Difference?

In the domain name system (DNS), two key organizations play distinct but interconnected roles: the registry and the…