How to create subdomains in cPanel

How to Create Subdomains in cPanel

Creating subdomains in cPanel allows you to organize your website into distinct sections (e.g., blog.yourdomain.com, shop.yourdomain.com) without purchasing new domains. Follow these steps to create subdomains:


1. Log in to Your cPanel Account

  • Access cPanel:
    Open your web browser and navigate to your cPanel login page (e.g., yourdomain.com/cpanel or cpanel.yourdomain.com).
  • Sign In:
    Enter your username and password provided by your hosting provider.

2. Locate the Subdomains Tool

  • Find the Subdomains Icon:
    Scroll down to the Domains section of your cPanel dashboard.
  • Click on Subdomains:
    Click the Subdomains icon to open the subdomain management interface.

3. Create a New Subdomain

  • Enter Subdomain Name:
    In the Subdomains interface, type the desired subdomain prefix (e.g., blog for blog.yourdomain.com).
  • Select the Domain:
    Choose the parent domain for which you want to create the subdomain from the dropdown menu.
  • Document Root:
    cPanel will automatically generate a document root (e.g., /public_html/blog). You can modify this if needed.
  • Add the Subdomain:
    Click the Create button to set up the new subdomain.

4. Verify Your Subdomain

  • File Management:
    After creation, you’ll see a new folder in your File Manager corresponding to the subdomain’s document root.
  • Test the Subdomain:
    Open your web browser and navigate to your new subdomain (e.g., http://blog.yourdomain.com) to ensure it’s working. If no content is present, you may see a default page or error message until you upload files.

5. Configure DNS Settings (If Needed)

  • Automatic DNS Update:
    In most cases, cPanel automatically adds the necessary DNS records for your subdomain.
  • Manual Adjustments:
    If needed, you can manage DNS records via the Zone Editor in cPanel to fine-tune settings.

Final Thoughts

Creating subdomains in cPanel is a quick and efficient way to expand your website’s structure. Whether you’re launching a blog, a shop, or a separate service, subdomains help organize content and keep your main domain uncluttered.

Ready to create your subdomain? Log in to cPanel, follow these steps, and start organizing your website into distinct, easily manageable sections!

Hot this week

Best Primary School in Ruwa: Why Specialists Junior School Leads the Way in Quality Education

Education is one of the most important investments any...

E-commerce in Harare Made Easy: How Tremhost Integrates Local Payment Gateways (like EcoCash) Seamlessly

The potential of e-commerce in Zimbabwe is immense. Businesses...

Why Rolls-Royce Cars Are So Expensive

Rolls-Royce isn’t just a car brand; it’s a global...

Topics

Why Rolls-Royce Cars Are So Expensive

Rolls-Royce isn’t just a car brand; it’s a global...

Why Tremhost Is the Best Choice for WordPress Hosting in Africa in 2025

WordPress powers over 40% of all websites worldwide —...

Tremhost Reseller Hosting: Build Your Own Hosting Business Without Server Headaches

The digital economy is booming — and hosting is...

How Tremhost Is Empowering Africa’s Next Generation of Tech Entrepreneurs in 2025

Africa’s digital revolution is here.From fintech startups in Lagos...
spot_img

Related Articles

Popular Categories

spot_imgspot_img