To create a subdomain in cPanel, open cPanel, go to the Domains section, click Domains (or Subdomains on older layouts), choose Create a New Domain, enter the subdomain as a full hostname such as blog.yourdomain.com, and save. cPanel adds the DNS record and a document root for you automatically. A subdomain is a child of your main domain, so blog.yourdomain.com and shop.yourdomain.com are separate sections that live under one registered domain and one hosting account.

What a subdomain actually is

A subdomain is a prefix on the left of your domain, separated by a dot. In DNS terms it is a hostname that resolves through an A record (or a CNAME) to your server. Common uses include a blog, a staging copy of your site, a customer portal, a knowledge base, or a regional section. Because a subdomain gets its own folder on disk, you can run a completely separate site or application there without touching your main website files.

yourdomain.com blog.yourdomain.com shop.yourdomain.com staging.yourdomain.com /home/user/blog /home/user/shop /home/user/staging

Create the subdomain step by step

  1. Log in to cPanel and find the Domains section.
  2. Click Domains, then click the Create a New Domain button. On some accounts the tool is labelled Subdomains, where you type the prefix and pick the parent domain from a dropdown.
  3. In the Domain field, enter the full hostname, for example blog.yourdomain.com. cPanel recognises that it sits under an existing domain you already control.
  4. Leave the option to share the document root unticked so the subdomain gets its own folder. cPanel suggests a path such as /home/user/blog. You can accept it or set your own.
  5. Click Submit or Create. The subdomain and its DNS record are created immediately.

Behind the scenes cPanel adds an A record pointing the hostname at your server IP, similar to this zone entry:

blog    IN    A    203.0.113.10

Because the record is created on your own DNS zone, propagation is usually fast when your nameservers point to the hosting account. If you manage DNS at an external provider, add the equivalent A record there instead.

Point the subdomain to content

Upload files into the new document root using File Manager or FTP, or install an application there. If you install WordPress with the cPanel application installer, choose the subdomain from the domain dropdown so it lands in the correct folder. Keeping a blog or store on its own subdomain also makes backups and permissions easier to reason about. For a deeper WordPress setup, see our WordPress SEO hosting guidance and the cPanel and technical guides hub.

Add SSL for the subdomain

A subdomain needs its own certificate coverage. AutoSSL typically issues a certificate that includes each active subdomain automatically, but you can check coverage under Security, SSL/TLS Status, and run AutoSSL if the new hostname shows as uncovered. Always confirm that https://blog.yourdomain.com loads without a warning before you send traffic to it. Learn more about certificate options on our SSL certificates page.

Subdomains, IPs, and SEO

Search engines generally treat a subdomain as closely related to its parent domain, though they can be crawled and ranked as distinct sections. A subdomain shares the same IP address as your main site unless you deliberately host it elsewhere, so it does not by itself change your server footprint. A dedicated Class C IP is a defensive, footprint-control measure, not a positive ranking signal, and that logic applies whether content sits on the root domain or a subdomain. If you need to organise several properties across distinct IP ranges, our multiple Class C IP hosting covers that use case. For anything account specific, reach out through contact us.

For the official interface reference, see the cPanel documentation.

Bu cavab sizə kömək etdi? 0 istifadəçi bunu faydalı hesab edir (0 səs)