A subdomain is the part of a web address that sits in front of the main domain name. In shop.example.com, the word shop is the subdomain, and example.com is the main domain. It costs nothing extra in most cases, it takes minutes to set up, and it lets a small business run a separate section of its website under its own address, without buying a new domain name.
Most small businesses meet subdomains without noticing them. A shop that runs its online store at shop.example.com, a blog that lives at blog.example.com, and a help centre that answers questions at support.example.com all use subdomains.
This article explains what a subdomain is, how it differs from a subfolder, when a small business should use one, and how to set one up without breaking the main website. It stays focused on the subdomain concept itself. Choosing the main domain name has its own guide on this site, and the details of how domain names connect to a website live in the guide to business website DNS.
Key takeaways
- A subdomain is a prefix added to a main domain, such as shop in shop.example.com.
- Most hosts let a business create subdomains free of charge, in a few minutes, with no new domain to buy.
- Use a subdomain when a section needs its own design, its own software, or its own team.
- A subfolder, such as example.com/shop, usually suits a section that belongs with the main website.
- Each subdomain needs its own security certificate check, its own analytics, and its own links from the main site.
What a subdomain actually is
A domain name has three parts, read from right to left. The ending, such as com, is the top level domain. The word before it, such as example, is the main domain name. Anything added to the left of that, separated by a dot, is a subdomain. In blog.example.com, blog is the subdomain, example is the main domain, and com is the ending. A subdomain can sit one level deep, like shop.example.com, or deeper, like uk.shop.example.com, though most small businesses never need more than one level.
A subdomain points to a place on the internet, just like a main domain does. The owner sets that address in the domain control panel, usually by adding a DNS record. The record tells browsers where to find the content for that subdomain. The content can live on the same hosting account as the main website, on a different server, or on a completely different service, such as a shop platform or a help desk tool. The visitor sees only the address, and the address works like any other.
The key point is that a subdomain is part of the main domain, not a separate domain. The business owns example.com, so it can create shop.example.com, blog.example.com, and support.example.com without buying anything new and without asking anyone permission. The subdomain inherits the brand of the main domain, which is why visitors trust it at once. A new domain name, by contrast, starts with no history and no trust, and it needs its own registration, its own renewal date, and its own setup.
Subdomain vs subfolder: the choice that matters
The alternative to a subdomain is a subfolder, also called a subdirectory. A subfolder sits after the main domain, such as example.com/shop or example.com/blog. Both forms work, both are easy to type, and visitors rarely notice the difference. The choice matters for the business, not for the visitor, because the two forms behave differently behind the scenes.

A subdomain behaves like a separate website. Search engines often treat it as its own site, with its own authority and its own ranking. That can help when the section serves a different audience, such as a shop for customers in another country, and it can hurt when the section should support the main website ranking. A subfolder, by contrast, sits inside the main website, so its content adds to the authority of the main domain. A blog that aims to bring visitors to the main site usually works better as a subfolder, while a shop that runs on separate software often needs a subdomain.
The technical side follows the same split. A subdomain can point to a different server, a different platform, or a different provider, which makes it the right choice when the section runs on software the main website cannot run. A booking system, a course platform, or a hosted shop all fit that pattern. A subfolder must live on the same hosting as the main website, which keeps everything in one place but limits the choice of software. When the section needs its own tools, the subdomain wins. When the section fits the main website, the subfolder wins.
When a small business should use a subdomain
The clearest case is a shop. Many small businesses run the main website on one platform and the online shop on another, because the shop needs carts, payments, and stock management that the main website does not offer. Putting the shop at shop.example.com keeps the two systems apart, lets each one do its job, and gives customers a clear address to remember. The same logic applies to a booking system at book.example.com, a course platform at learn.example.com, and a customer portal at my.example.com.
A third case is a service the business does not host itself. Help centres, support desks, and community forums often come from third party providers, and those providers ask the business to point a subdomain at their service. The result is support.example.com, which looks like part of the business website but runs on the provider servers. The business keeps the brand in the address, and the provider handles the software, the updates, and the uptime.
A fourth case is testing. A new version of the website can live at staging.example.com or new.example.com, where staff can test it without touching the live site. A test that breaks a staging subdomain costs nothing, while the same mistake on the main website can take the business offline. Our guide to business website DNS for small businesses explains the records that make a subdomain point at the right place, and our guide to choosing a domain name for a small business covers the main domain itself.
The caveats that matter
A subdomain is a useful tool, not a free lunch. Each one adds a small amount of work: a security certificate to check, an analytics setup to add, and links from the main site to build. The table below lists the limits that matter most, so the decision is made with honest expectations.
| Detail | What is known |
|---|---|
| Separate ranking | Search engines often treat a subdomain as its own site, so it builds authority from scratch. |
| Certificate check | Each subdomain needs a valid security certificate, or browsers will warn visitors away. |
| Analytics setup | A subdomain needs its own analytics setup, plus tracking for visits that cross between the two. |
| Extra maintenance | Each subdomain is another address to keep updated, backed up, and checked for broken links. |
| Brand confusion | Too many subdomains confuse visitors. Two or three clear ones beat ten vague ones. |
| Not a new domain | A subdomain belongs to the main domain. It cannot be sold or moved on its own. |
| Provider limits | Some cheap hosting plans limit the number of subdomains, so check the plan before building. |
| Old subdomains linger | A subdomain that is no longer used should be removed, or it can show an error page to visitors. |
The second most common mistake is forgetting the certificate. A subdomain without a valid security certificate shows a browser warning that turns visitors away, even when the main website works fine. Most hosts now issue free certificates that cover subdomains, but the certificate must be set up for each new subdomain, and it must be checked after setup. A quick visit to the new address in a browser, plus a check that the padlock shows, catches the problem before customers do.
Checklist: using a subdomain honestly
- Write down the reason for the subdomain: own software, own audience, or own provider. If none applies, use a subfolder.
- Pick a short, clear name that visitors can say on the phone: shop, blog, support, book, or learn.
- Check the hosting plan allows subdomains, and check the security certificate covers the new address.
- Add the subdomain to the analytics account and set up tracking for visits that move between the two addresses.
- Link to the subdomain from the main website navigation or footer, so visitors and search engines can find it.
- Review the subdomain list once a year and remove any address that no longer serves a purpose.
Frequently asked questions
What is a subdomain in simple terms?
A subdomain is a prefix added to a main domain name, such as shop in shop.example.com. The business owns the main domain, so it can create subdomains free of charge in most cases.
Is a subdomain free?
In most cases, yes. The business already owns the main domain, and most hosting plans let the owner create subdomains at no extra cost. Some cheap hosting plans limit the number of subdomains, so it is worth checking the plan. The subdomain itself needs no registration fee and no renewal date of its own.
Should a blog live on a subdomain or a subfolder?
For most small businesses, a subfolder works better, such as example.com/blog. The blog content then adds to the ranking strength of the main website, and it needs no extra analytics setup.
Does a subdomain hurt search rankings?
A subdomain does not hurt the main website, but it starts with no ranking strength of its own, because search engines often treat it as a separate site. A section with its own purpose, such as a shop, can rank well on its own with time and links.
How many subdomains can a business have?
There is no fixed limit in the domain system, but the hosting plan may set one, and good practice sets a lower one. Two or three clear subdomains, such as shop, support, and blog, serve most small businesses well. More than that usually means the website structure needs a rethink, not more addresses.
Can a subdomain be removed later?
Yes. Removing a subdomain takes minutes in the domain control panel, and the main website keeps working. Any links that pointed to the removed address will break, so it is worth redirecting the old address or updating the links first. Our guide to business website domains for small businesses explains how the main domain and its parts fit together.
The bottom line
A subdomain is a simple tool with a clear purpose. It gives a section of a business its own address under the main domain, so a shop, a booking system, or a help centre can run on its own software while keeping the brand in one place.
The decision matters more than the setup. Use a subdomain when the section needs its own software, its own audience, or its own provider. Use a subfolder when the section belongs with the main website and should add to its strength. A business that follows that rule gets the benefit of subdomains without the clutter of addresses nobody needs.
Note: check the hosting plan and the security certificate before creating a subdomain, and test the new address in a browser at once. A subdomain that shows a warning or an error page does more harm than no subdomain at all.


