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

Free Web Hosting vs Paid Web Hosting: Which Is Better for Your Business?

Choosing between free web hosting and paid web hosting...

How to Choose a Domain Name for Your Business: 10 Practical Tips

Choosing a domain name is one of the most...

How to Choose the Right Domain Extension: .com, .co.zw and More

Choosing a domain name is one of the first...

What Happens When Your Domain Name Expires?

Your domain name is more than a web address....

How to Transfer a Domain Name to Another Registrar

Your domain name is one of the most important...

Topics

Free Web Hosting vs Paid Web Hosting: Which Is Better for Your Business?

Choosing between free web hosting and paid web hosting...

How to Choose a Domain Name for Your Business: 10 Practical Tips

Choosing a domain name is one of the most...

How to Choose the Right Domain Extension: .com, .co.zw and More

Choosing a domain name is one of the first...

What Happens When Your Domain Name Expires?

Your domain name is more than a web address....

How to Transfer a Domain Name to Another Registrar

Your domain name is one of the most important...

How to Point a Domain Name to Your Web Hosting Account

Registering a domain name is an important first step...

What Is DNS Propagation and How Long Does It Take?

Have you recently registered a domain, changed your nameservers...

What Is DNS and How Does It Work? A Beginner’s Guide

Have you ever registered a domain name, launched a...
spot_img

Related Articles

Popular Categories

spot_imgspot_img