Subdomains: Creating and Configuring via cPanel and DNS

Domains · 19.04.2026
Subdomains: Creating and Configuring via cPanel and DNS

A subdomain is the part of the URL before the main domain: blog.example.com, shop.example.com. Subdomains let you separate different sections of a site or create independent projects without buying a new domain.

Creating a Subdomain in cPanel

  1. Go to cPanel → Domains → Subdomains
  2. Enter subdomain name (e.g., blog)
  3. Select the main domain
  4. Set Document Root: public_html/blog
  5. Click Create

Manual DNS Configuration

# A record (direct IP)
blog    IN    A    192.168.1.100

# CNAME (alias)
shop    IN    CNAME    example.com.

# Wildcard — all subdomains
*       IN    A    192.168.1.100
💡 Subdomain vs Subfolder for SEO: Google treats subdomains as separate sites. If your blog is important for main site SEO, use example.com/blog/ instead — subfolders inherit the main domain's authority.
← Back to Knowledge Base Ask Support