Glossary

How to Create a Subdomain in cPanel in Under 5 Minutes

Learn to create a subdomain in cPanel step by step — from the Subdomains panel to verifying it in your browser — no prior technical knowledge needed.

Blurred student studying at desk with open books, showcasing academic stress.

To create a subdomain in cPanel, go to Domains → Subdomains, type the prefix you want (for example, store), select your main domain, and set the subdomain's document root folder. cPanel automatically creates the necessary DNS record. The whole process takes under 5 minutes.

This guide walks through every step with clear field descriptions and covers the most common errors so you don't waste time troubleshooting.

What Is a Subdomain and What Is It Used For?

A subdomain is a prefix added before the main domain, separated by a dot. If your domain is yourbusiness.com, examples of subdomains include:

  • store.yourbusiness.com — for a separate online store
  • blog.yourbusiness.com — for an independent blog
  • app.yourbusiness.com — for a web application
  • dev.yourbusiness.com — for a staging/testing environment

Each subdomain can point to a different folder on the server, letting you host multiple projects or sections under a single hosting plan without paying for extra domains.

To understand how domains and hosting fit together, browse our Hosting and Domains Glossary where we explain these concepts from the ground up.

Step by Step: How to Create a Subdomain in cPanel

Step 1 — Log in to cPanel

Access your control panel by typing yourdomain.com:2083 in your browser, or use the link your hosting provider sent you. Sign in with your cPanel username and password.

Step 2 — Find the Domains Section

On the cPanel main dashboard, look for the Domains block. Depending on your theme (Jupiter or Paper Lantern), it may be in the center area or a sidebar. Click Subdomains.

Step 3 — Fill in the Creation Form

You'll see a form with three main fields:

Field What to Enter Example
Subdomain The prefix you want (letters, numbers, hyphens only) store
Domain Your main domain (dropdown selection) yourbusiness.com
Document Root Folder where the subdomain's files will live public_html/store

cPanel auto-populates the Document Root field with public_html/subdomainname. You can accept that value or change it to any path within your hosting account.

Step 4 — Click "Create"

Press the Create button. cPanel displays a confirmation message within seconds. At that point it will have:

  • Created the specified folder on the server (if it didn't already exist).
  • Added an A record and/or CNAME in your domain's DNS zone.
  • Configured an Apache virtual host so the subdomain responds to requests.

Step 5 — Verify the Subdomain in Your Browser

Open a new tab and visit store.yourbusiness.com. If your domain's nameservers already point to this hosting server, the subdomain will be active immediately (or within a few minutes if there is DNS cache). You'll see an empty directory or index listing until you upload content.

How to Install WordPress (or Any CMS) on a Subdomain

Once the subdomain is created, you can install a CMS on it right from cPanel:

  1. In cPanel, go to Softaculous Apps Installer (or Installatron, depending on your provider).
  2. Select WordPress (or another CMS).
  3. In the Choose Protocol / Domain field, select your subdomain from the dropdown (store.yourbusiness.com).
  4. Fill in the installation details (site name, admin username, password).
  5. Click Install.

In under a minute you'll have WordPress running on the subdomain, completely separate from the main site.

Common Errors When Creating Subdomains in cPanel

  • Subdomain not loading after 10 minutes: check that your domain's nameservers point to the hosting account where you created the subdomain. If DNS is managed externally (Cloudflare, for example), you'll need to add the A record manually in that external panel.
  • "Subdomain already exists" error: cPanel detected an existing DNS record or folder. Check the DNS Zone Editor for a pre-existing record and delete it before trying again.
  • Document root folder wasn't created: some cPanel versions only create the folder if it doesn't already exist. Create it manually via the File Manager with the exact name you specified.
  • Subdomain shows "403 Forbidden": the folder exists but is empty or has incorrect permissions. Upload at least one index.html file, or set the folder permissions to 755 in File Manager.

Managing and Deleting Subdomains in cPanel

To see all your active subdomains, return to Domains → Subdomains. The list appears at the bottom of the screen with options to Manage Redirection and Delete each subdomain.

When you delete a subdomain, cPanel removes the virtual host and the DNS record, but it does not delete the folder or any files inside it — you'll need to do that manually via File Manager if you no longer need them.

Looking for hosting with cPanel included and reliable support? At elenlace.com you'll find plans with cPanel, unlimited subdomains, and personalized assistance to get your project running smoothly.

Key Takeaways

  • Creating a subdomain in cPanel takes under 5 minutes via Domains → Subdomains.
  • cPanel automatically creates the server folder and DNS record when you confirm the form.
  • You can install an independent CMS (WordPress, Joomla, etc.) on each subdomain using Softaculous.
  • If DNS is managed externally (e.g., Cloudflare), you must add the A record manually in that external panel.
  • Deleting a subdomain in cPanel does not delete its files — remove them manually if no longer needed.

Ready to run multiple projects under a single domain? Check out the unlimited-subdomain hosting plans at elenlace.com and get started today.

FAQ

How many subdomains can I create in cPanel?

It depends on your hosting plan. Many plans offer unlimited subdomains; others cap it at 25 or 50. Check your plan's description or ask your hosting provider. In cPanel, the current count appears under Account Statistics → Subdomains.

Does a subdomain need its own SSL certificate?

Yes. A standard SSL certificate for yourdomain.com does not automatically cover subdomains. You need a wildcard certificate (*.yourdomain.com) or a separate Let's Encrypt certificate for each subdomain, which you can install via cPanel → SSL/TLS → Let's Encrypt.

Does a subdomain affect the SEO of the main domain?

Google treats subdomains as separate sites, so content on blog.yourdomain.com does not automatically inherit the authority of yourdomain.com. If you want content to reinforce the main domain, consider a subfolder (yourdomain.com/blog) instead of a subdomain.

Can I point a subdomain to a different server than the main domain?

Yes. In the cPanel DNS Zone Editor you can edit the subdomain's A record and set any server's IP address. This is useful for hosting an application on a separate VPS while the main site stays on shared hosting.

Useful resources

Other providers and guides worth comparing:

← All