Short answer: a subdomain is a prefix on your domain that works as its own address, like blog.yourbusiness.com or shop.yourbusiness.com. It uses your existing domain, so it is free, and it can point to a separate site, folder or service. On most hosting you can create one in a couple of minutes from cPanel.
Subdomains are one of the handiest and most misunderstood parts of running a website. This guide explains what they are, when to use one, and exactly how to create one.
What a subdomain is
Every web address has parts. In blog.yourbusiness.com:
- yourbusiness.com is your main (root) domain.
- blog is the subdomain, a section that acts as its own address.
You can create many subdomains under one domain, each pointing wherever you like, without buying anything extra. Common examples: blog. for a blog, shop. for a store, help. for a help centre, app. for a web app, and staging. for a private copy of your site to try changes.
Subdomain or subfolder?
Both let you add a section to your site:
| Subfolder (yourbusiness.com/blog) | Subdomain (blog.yourbusiness.com) | |
|---|---|---|
| Setup | Just a folder or page on your main site | Created in your control panel |
| Treated as | Part of your main site | A separate site |
| Best for | Content tied to your main site | A separate app, store, help centre or staging copy |
| Different software | Harder | Easily |
For a blog that is part of your business site, a subfolder is usually simplest and keeps content under one roof, which can help SEO. Choose a subdomain when the section is genuinely separate or needs its own software. If you are unsure how web addresses fit together, our web hosting and domain glossary is a friendly reference.
Subdomain, addon domain or parked domain?
| Term | What it is |
|---|---|
| Subdomain | A section of your existing domain, like shop.yourbusiness.com |
| Addon domain | A completely different domain hosted on the same account |
| Parked (alias) domain | Another domain that simply shows the same site |
Use a subdomain for a section of the same brand, an addon domain to host a second website entirely, and a parked domain to point extra domains at your main site.
How to create a subdomain in cPanel
On a SiloLobby cPanel plan it takes about two minutes:
- Sign in to cPanel from your SiloLobby account.
- Open Domains or Subdomains.
- In the Subdomain box, type the prefix you want, such as blog or shop.
- Choose your domain from the list.
- The document root fills in automatically; leave it unless you have a reason to change it.
- Click Create.
Your subdomain works within minutes. You can install WordPress or upload files to its folder exactly as for a main site; see how to install WordPress.
Pointing a subdomain to another service
To point a subdomain somewhere else, for example help.yourbusiness.com at a help-desk tool, you add a DNS record, usually a CNAME the other service gives you. Add it in your DNS settings and allow a little time for it to take effect. Our guide DNS records explained: A, CNAME, MX, TXT covers how these work.
Do subdomains affect SEO?
Search engines treat a subdomain as closely related to your main domain but somewhat separate. For most businesses this does not matter: if the content is part of your main brand, a subfolder keeps all the value together; if it is a distinct product or tool, a subdomain is perfectly fine and widely used. Good content and a fast, secure site matter far more.
A few good habits
- Secure every subdomain with SSL. A subdomain needs its own certificate; SiloLobby issues these free and automatically.
- Keep names short and obvious. shop, blog and help beat clever names nobody guesses.
- Use a staging subdomain to test changes before they hit your live site.
Troubleshooting a subdomain
If a new subdomain does not work, the cause is almost always one of three things:
- It is too soon. A subdomain on your own hosting works within minutes, but one pointed elsewhere by DNS can take a little while to spread. Wait, then try again in a private browser window so you are not seeing a cached result.
- No SSL yet. The certificate for a brand-new subdomain can take a few minutes to issue. Until it does, the browser may warn that the page is not secure.
- The wrong folder. If you uploaded your site but see the wrong page, check that the subdomain's document root points at the folder where your files actually are.
If all three are fine and it still fails, your host's support can confirm the subdomain and its certificate in a minute.
Everything under one domain
With SiloLobby hosting you can create subdomains for your blog, store, help centre and staging site, each with free SSL, all under the one domain you already own.
Still choosing a domain? Read how to choose a domain name for your business.