Domains

How to Create and Configure a Subdomain in cPanel

Learn step by step how to create and configure a subdomain in cPanel without any advanced technical knowledge.

Close-up of illuminated fiber optic lights in blue and green colors, showcasing modern technology.

To create a subdomain in cPanel, go to Domains → Subdomains, type the name you want, choose the root domain, and click Create. Within seconds your subdomain will be live and pointing to a folder on your server.

Subdomains are one of the most versatile tools in shared hosting. They let you separate sections of your website — a store, a blog, a client portal — without paying for additional domain names. This guide walks you through the exact steps in cPanel.

What Is a Subdomain and What Is It Used For?

A subdomain is an extension of your main domain that works as an independent address. If your domain is business.com, a subdomain would be something like store.business.com or blog.business.com.

Most common uses:

  • Online store: shop.yourdomain.com separate from the main site.
  • Client area: clients.yourdomain.com with restricted access.
  • Blog or news: blog.yourdomain.com running its own CMS.
  • Testing environments: dev.yourdomain.com or staging.yourdomain.com.
  • Languages or regions: en.yourdomain.com, mx.yourdomain.com.

Best of all: subdomains are included in virtually every hosting plan at no extra cost. Browse the domains section of our blog to learn how subdomains fit into your broader web strategy.

Step by Step: Creating a Subdomain in cPanel

The process is straightforward and takes under two minutes once you have panel access.

Step 1 — Log in to cPanel

Access your hosting using the URL provided by your host, typically something like yourdomain.com:2083 or through your client portal. Sign in with your username and password.

Step 2 — Find the Subdomains Section

Inside the panel, look for the Domains section. Depending on your cPanel version (Jupiter or Paper Lantern), it may appear as:

  • Domains → Subdomains (recent versions)
  • A standalone Subdomains icon in the domains block

Step 3 — Fill in the Form

You'll see three main fields:

Field What to Enter Example
Subdomain The word before the dot store
Domain Your root domain business.com
Document Root Folder on the server (auto-filled) public_html/store

cPanel automatically fills in the folder path. You can leave it as is or change it if you have a custom directory structure.

Step 4 — Click "Create"

After confirming, cPanel creates the necessary DNS record (an A or CNAME record pointing to the same server) and generates the corresponding folder under public_html. You'll see a success message on screen.

Step 5 — Upload or Install Your Content

Navigate using cPanel's File Manager (or via FTP) to the new folder — for example, public_html/store — and upload your site files or install a CMS like WordPress.

How Long Does It Take to Go Live?

If your domain already resolves on the same server, the subdomain activates almost instantly (under 5 minutes). There's no external DNS propagation because the record is created within the same nameserver.

If you recently configured the domain or changed nameservers, expect to wait 1 to 24 hours for global DNS propagation.

Common Additional Configurations

Adding SSL to the Subdomain

In cPanel you can issue a free Let's Encrypt certificate for each subdomain. Go to Security → SSL/TLS → Manage SSL Sites and install the certificate. Some hosts do this automatically when the subdomain is created.

Redirecting the Subdomain to Another URL

If you want the subdomain to point to an external site or a different folder, use Domains → Redirects in cPanel and set up a 301 (permanent) or 302 (temporary) redirect.

Pointing the Subdomain to Another Server (CNAME)

For external services like Shopify, HubSpot, or Zendesk, you'll need a CNAME record. Go to DNS Zone Editor in cPanel, edit your domain's zone, and add a CNAME record pointing to the destination provided by the service.

Key Takeaways

  • Creating a subdomain in cPanel takes under 2 minutes via Domains → Subdomains.
  • cPanel automatically creates the DNS record and the server folder.
  • If the domain already resolves on the same server, the subdomain goes live almost immediately.
  • Add a free SSL certificate with Let's Encrypt directly from the panel.
  • To point to external services, add a CNAME record in the DNS Zone Editor.

Need help setting up your hosting or domains the right way? The team at elenlace.com offers expert support in Spanish and English — reach out and we'll get you up and running.

FAQ

How many subdomains can I create in cPanel?

It depends on your hosting plan. Most shared plans allow unlimited subdomains, though some basic plans have a cap (25 or 50). Check your plan's specifications or contact your provider.

Does a subdomain affect the SEO of the main domain?

Google treats subdomains as separate entities from the root domain. This means a subdomain doesn't automatically inherit the authority of the main domain — you need to build its SEO independently.

Can I delete a subdomain without deleting its files?

Yes. When you delete a subdomain in cPanel, the system asks whether you also want to remove the associated folder. You can keep the files intact by unchecking that option — only the DNS record will be deleted.

Does a subdomain work with WordPress?

Absolutely. You can install WordPress on a subdomain exactly as you would on the main domain. Many hosts offer one-click installers (like Softaculous) that let you select the subdomain as the target during installation.

Prefer it done for you? El Enlace handles hosting and professional web development.

Useful resources

Other providers and guides worth comparing:

← All