If you’re setting up a website for the first time β or rethinking how yours is organized β you’ll run into the word “subdomain” fast. It sounds technical, but the concept is genuinely simple once you see the parts of a web address broken down. Here’s a plain-English guide to what domains and subdomains are, how they differ, and when to use one over the other.
A domain is the main address of your website β for example, example.com. A subdomain is a prefix you add to that address to run a separate section or service under the same roof β for example, blog.example.com or shop.example.com. They share the same root, but each one works like its own standalone site.
The Anatomy of a Web Address
Before we compare domains and subdomains, it helps to see how a typical web address is structured. Each part has a name and a job:
Reading right to left: .com is the top-level domain (also called the TLD or extension). example is the root domain β the name you registered and pay for each year. Together those two form your full domain (example.com). Anything in front of that, separated by a dot, is a subdomain.
What Is a Domain?
A domain is the unique address people type to reach your website. It’s what you register through a domain provider (like GoDaddy, IONOS, or whoever your website builder partners with) and what you typically renew once a year. Ownership of a domain is exclusive β no two people can own example.com at the same time.
When you register a domain, you’re really leasing the right to point that name at a specific location on the internet. Behind the scenes, the Domain Name System (DNS) translates your human-friendly name into the numeric IP address of the server where your site actually lives.
You only pay for the root domain. Once you own example.com, you can create as many subdomains off it as you want β at no extra cost and without registering anything new.
What Is a Subdomain?
A subdomain is a prefix added to your root domain, separated by a dot, that points to a distinct section or service under the same brand. Each subdomain behaves like its own website: it can have its own design, its own content, its own platform, even its own server β but it still benefits from the fact that people already know your root domain.
Common examples you’ve probably encountered without thinking about them:
- blog.example.com β the blog section of a business website
- shop.example.com β an online store separated from the main marketing site
- support.example.com β a help center or knowledge base
- app.example.com β the login portal for a web application
- mail.example.com β a webmail interface
Technically, the www in www.example.com is also a subdomain β it’s just one that’s been around so long most people think of it as part of the main address.
Domain vs Subdomain at a Glance
| Aspect | Domain | Subdomain |
|---|---|---|
| Example | example.com | blog.example.com |
| Registration | Registered through a domain provider; renewed annually. | Not separately registered β created from a domain you already own. |
| Cost | $10 β $30 per year for most common extensions. | Free to create. |
| How many you can have | One per registered name. | Typically hundreds per domain, depending on your DNS provider. |
| Treated by search engines as | Its own site. | Often its own site, though opinions vary (see below). |
| Best for | Your main brand address. | Distinct sections or services that warrant their own space. |
Subdomain vs Subdirectory β What’s the Difference?
This is the most common point of confusion, so it’s worth addressing directly. A subdirectory (also called a subfolder) is a section of your main site reached by a path after the domain β for example, example.com/blog. A subdomain sits in front of the domain, like blog.example.com. They look similar to visitors but are handled very differently on the back end.
| Characteristic | Subdomain | Subdirectory |
|---|---|---|
| Format | blog.example.com | example.com/blog |
| Technically | Separate site under the same domain. | A folder of the same site. |
| Can use a different platform | Yes β run WordPress on one and Shopify on another, for example. | No β everything runs on the main site’s platform. |
| SEO authority | Inherits some, not always all, of the root domain’s authority. | Inherits the root domain’s authority directly. |
When Should You Use a Subdomain?
Subdomains are the right tool when a section of your operation is meaningfully different from the rest of your site β different audience, different platform, different purpose, or all three. Force them where they don’t fit and you add complexity without getting anything back.
Good reasons to use a subdomain
- You need a different platform for part of the site. For example, a marketing site on Wix at example.com and a customer help center on a knowledge-base tool at help.example.com.
- You’re serving a clearly different audience. A company with both a public marketing site and a customer login portal often puts the portal at app.example.com.
- You’re running a regional or language variant. Large brands sometimes use uk.example.com or fr.example.com for country-specific content, though country-code TLDs (example.co.uk) are often a better choice.
- You’re staging or testing a new site. Developers commonly use staging.example.com or dev.example.com for work that isn’t ready for visitors yet.
A common mistake: putting your blog on a subdomain like blog.example.com when a subdirectory (example.com/blog) would serve you better. For most small business blogs, the subdirectory approach passes SEO authority directly to the main brand and keeps your content consolidated. Use a subdomain only if the platform powering the blog truly needs to be separate.
How to Set Up a Subdomain
The exact process varies by provider, but the general workflow is the same everywhere. You’ll work inside the DNS settings of your domain provider (where you registered the name) or inside your website builder’s dashboard if you manage DNS through it.
- Log in to your domain provider or website builder. Look for a section called “DNS,” “Domain settings,” or “Subdomains.”
- Create a new DNS record. Most often this is an “A record” pointing to an IP address, or a “CNAME record” pointing to another domain (such as the address your website builder gives you for hosting the subdomain).
- Name the subdomain. If you want blog.example.com, the subdomain name is blog.
- Wait for DNS propagation. Changes can take anywhere from a few minutes to a few hours to take effect worldwide. Most modern providers propagate within 30 minutes.
- Configure the subdomain on your chosen platform. Point whatever tool will host the subdomain (another Wix site, a WordPress install, a help desk tool, etc.) at the new address.
If all of that sounds fiddly, most website builders today handle the DNS part automatically when you add a subdomain inside their dashboard β you rarely need to touch raw DNS records anymore.
Subdomains and SEO
One of the long-running debates in SEO circles: does a subdomain pass “link equity” from your main domain the same way a subdirectory does? The answer has shifted over time, and the honest summary in 2026 is “it depends on the case.”
Google has publicly said that it treats subdomains and subdirectories as part of the same site for most purposes. In practice, case studies still show that content moved from a subdomain into a subdirectory often performs better in organic search. The reason is less about Google’s algorithm and more about how authority, links, and user behavior accumulate β everything happening in one place tends to reinforce itself more than content split across two.
A practical rule of thumb
- If the content is topically related to your main site, default to a subdirectory.
- If the content needs a different platform, different team, or different audience, use a subdomain.
- Either way, make sure your internal links, sitemaps, and analytics treat both as part of the same brand.
Frequently Asked Questions
The Bottom Line
A domain is your address. A subdomain is a room under the same roof with its own door. Once you get that simple picture, the technical details fall into place: you only pay for the domain, you get as many subdomains as you need for free, and the decision of when to use one comes down to a single question β does this part of my site need to be genuinely separate, or does it belong with the rest?
For most small business websites, the answer is “it belongs with the rest.” Use subdirectories for everyday content, and save subdomains for the moments when you really do need a room of their own.
Ready to Build Your Website?
Every website builder we review includes a free custom domain with annual plans β so you can get started without worrying about DNS. Compare our top picks to find the right platform for your project.
See Our Top Picks β