Hosting Setup Guides
How to Create a Subdomain in cPanel
Set up subdomains like shop.yourdomain.co.ke or blog.yourdomain.co.ke for separate sections of your business.
4 min read
Updated 10 August 2026
Creating a Subdomain
Subdomains let you run separate websites or apps under your main domain — for example, shop.yourbusiness.co.ke or portal.yourbusiness.co.ke.
Step 1 — Open Subdomains in cPanel
- Log into cPanel
- Go to Domains → Subdomains
Step 2 — Create the Subdomain
- In the Subdomain field, type the prefix (e.g.,
shop) - Select your main domain from the dropdown
- The Document Root will auto-fill (e.g.,
public_html/shop) — you can change this - Click Create
Step 3 — Upload Files to the Subdomain
Navigate to the document root folder you set (e.g., public_html/shop) and upload your subdomain's files there.
Step 4 — Add SSL to the Subdomain
Go to SSL/TLS Status and run AutoSSL again — it will cover your new subdomain automatically.
Common Uses for Subdomains
| Subdomain | Purpose |
|---|---|
shop.yourdomain.co.ke | WooCommerce or Shopify store |
blog.yourdomain.co.ke | Separate WordPress blog |
portal.yourdomain.co.ke | Client login portal |
api.yourdomain.co.ke | REST API endpoint |
Tags:subdomaincPanelDNS
Still need help?
Our Kenyan support team is on WhatsApp — real people, not bots. We respond in under 15 minutes.