How to Create Subdomains in cPanel

14 views · Apr 16, 2026

Creating Subdomains in cPanel

A subdomain is an extension of your main domain (e.g., blog.yourdomain.com, shop.yourdomain.com). Each subdomain can host a separate website or application.

Steps

  1. Log in to cPanel.
  2. Under Domains, click Subdomains.
  3. In the Subdomain field, type the prefix (e.g., blog).
  4. Select your main domain from the dropdown.
  5. The Document Root will auto-fill (e.g., public_html/blog). You can change this if needed.
  6. Click Create.

Uploading Files to a Subdomain

Upload your subdomain's files to the document root folder that was created (e.g., public_html/blog). Files there will be served at blog.yourdomain.com.

Subdomain DNS

cPanel automatically creates an A record for the subdomain pointing to your server. If you changed nameservers or manage DNS elsewhere, you will need to add the A record manually.

Budget plan allows up to 5 subdomains. Premium allows 15. VIP is unlimited. Check your plan limits under Subscriptions in your dashboard.