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

From $200 to $199: How Tremhost Beats Cloudflare’s Own Pricing Model

Cloudflare’s Business Plan is legendary. It includes enterprise-grade features...

Cheaper Than Cloudflare Itself? How Tremhost Bundles World-Class Security for Less

When it comes to website performance and protection, Cloudflare...

The World’s Cheapest Fully Managed Cloudflare Security—And Why Competitors Don’t Want You to Know

Let’s be real: big hosting providers make their money...

Africa’s Best-Kept Secret: Tremhost + Cloudflare = World-Class Security at Local Prices

Across Africa, businesses face the same cyber threats as...

From Downtime to Peace of Mind: Affordable Cloudflare DDoS Protection with Tremhost

Every minute your website is down costs money. Whether...

Topics

From $200 to $199: How Tremhost Beats Cloudflare’s Own Pricing Model

Cloudflare’s Business Plan is legendary. It includes enterprise-grade features...

Cheaper Than Cloudflare Itself? How Tremhost Bundles World-Class Security for Less

When it comes to website performance and protection, Cloudflare...

From Downtime to Peace of Mind: Affordable Cloudflare DDoS Protection with Tremhost

Every minute your website is down costs money. Whether...

The World’s Cheapest Managed Cloudflare Hosting? Tremhost Just Did It

Cloudflare is the name everyone trusts for DDoS protection,...

Cloudflare Protection Without the Global Price Tag: Tremhost Shows How

Cloudflare is known worldwide for delivering enterprise-grade website security...

How Tremhost Makes Enterprise-Grade Cloudflare Protection Affordable for Startups

Every startup has the same dream—scale fast, win customers,...
spot_img

Related Articles

Popular Categories

spot_imgspot_img