Adding a store, a help center or a second brand to your website forces a decision before anyone designs a page. Where does it live? You’ve got three addresses to pick from, and in a browser bar they look almost the same:
- yourbrand.com/shop is a subdirectory
- shop.yourbrand.com is a subdomain
- yourbrandshop.com is a separate root domain
Most advice on subdomains vs domains fixates on which one ranks better. Google has said for years that its search works fine with either subdomains or subdirectories, which takes most of the heat out of that argument. The bigger differences are practical ones, like which software the new section can run on, what you’ll have to set up twice, whether customers stay logged in as they move around and what happens when you cancel a tool five years from now. Below you’ll see how each option works, where each one fits and four questions to help you decide.
What each part of a web address means
Take https://help.yourbrand.com/billing/refunds as an example. The domain part reads from right to left.
- .com is the top-level domain, also called the extension.
- yourbrand.com is the root domain, meaning the name you register and renew with a registrar, plus its extension. Some extensions have two parts, so a UK business at yourbrand.co.uk has yourbrand.co.uk as its root domain.
- help. is a subdomain. You create it in your domain’s DNS settings, and there’s nothing extra to register because it sits under a domain you already own. The familiar www is a subdomain too, which is why www.yourbrand.com can break while yourbrand.com works if only one of them is set up.
- /billing/refunds is the path. Each folder in it, like /billing/, is a subdirectory (some people call it a subfolder). It’s a section of the same site.

What changes behind the scenes
A visitor barely notices the difference between the three. To your hosting, Google and your analytics, they’re different setups. Here’s how they compare on the things that affect day-to-day running:
| Subdirectory (yourbrand.com/shop) | Subdomain (shop.yourbrand.com) | Separate root domain (yourbrandshop.com) | |
|---|---|---|---|
| Where it can run | Usually on your main site’s platform, though other software can serve a path through routing or a reverse proxy | Anywhere, because its own DNS record can point to a different host or service | Anywhere |
| Extra cost | No domain registration fee, though software, hosting or development may still cost money | No registration fee, though the tool or hosting behind it may cost money | Registration plus a yearly renewal |
| Google Search Console | Covered by your main site’s property | Covered by a Domain property, or needs its own URL-prefix property | Needs its own property and verification |
| robots.txt | Shares your main site’s file | Gets its own file, and your main site’s rules don’t apply | Gets its own file |
| Site name and favicon in Google results | Uses your main site’s | Can have its own | Has its own |
| Google Analytics | Usually covered by your main site’s setup | Tag both with the same GA4 web stream, and the default cookie settings can follow users across subdomains | Needs cross-domain measurement to follow one visitor between the two sites |
| Logins and cookies | Often shared on one platform, but a separate app may need login integration | Cookies can span subdomains, but shared logins still need compatible authentication | Cookies can’t be shared directly, so a common login needs a separate sign-in integration |
| SSL certificate | Covered by your main site’s certificate | Needs coverage for its hostname: a separate certificate, a multi-name certificate or a matching one-level wildcard (*.yourbrand.com) | Needs coverage for the new domain, either separately or in a multi-name certificate |
The first row usually settles the question. If a new section has to run on software your main site doesn’t use, a subdomain gives it a home without moving anything else. And if separate Search Console reporting for every subdomain sounds like a chore, add your site as a Domain property. You verify it with a DNS record, and it includes every subdomain along with both the http and https versions of your site.
Does Google rank subdomains and subdirectories differently?
Google’s public answer hasn’t changed much. In a 2017 Google Webmasters video, John Mueller said, "Google web search is fine with using either subdomains or subdirectories." He added that URL structure changes take a while to settle in search, so it’s better to choose a setup you’ll keep and think about your longer-term plans. In a 2018 office hours hangout, he told site owners that Google generally sees the two the same. His own preference was to keep things on one site where possible and use subdomains for sections that are genuinely a bit different.
Google’s documentation adds a wrinkle. Its ranking systems guide (last updated December 1, 2026) says Google uses site-wide signals alongside page-level ones. The same guide describes a site diversity system that generally won’t show more than two listings from one site in the top results. For that system, subdomains usually count as part of the root domain, but Google sometimes treats them as separate sites when it judges that relevant. The guide doesn’t say what makes it relevant.
That uncertainty keeps the argument alive, and so do case studies. You’ll find plenty of posts about companies that moved a blog from a subdomain into a subdirectory and watched traffic climb. A move like that also changes redirects and internal links, and often the design and content too, so a before-and-after traffic chart can’t tell you which change did the work.
So treat this as a decision about structure and upkeep. Those are the parts you can actually predict.
When a subdirectory fits
A subdirectory is the natural home for anything that belongs to your main site and runs on the same platform. That covers a lot of what a business adds over time:
- yourbrand.com/blog for articles
- yourbrand.com/services/kitchen-renovations for each service
- yourbrand.com/locations/hamilton for each area you serve
- yourbrand.com/case-studies or yourbrand.com/resources for proof and downloads
Say a bookkeeping firm on WordPress wants a resources section with tax-season checklists. A /resources/ section is a new page or category away. It’s in the same dashboard, uses the same theme and shows up in the reports you already check. There’s nothing new to renew or secure.
The catch is the extra setup when a subdirectory needs different software or hosting. If your site is on WordPress and you’d like a HubSpot blog to appear at yourbrand.com/blog, you’re into reverse proxy territory, where a server in front of your site sends requests for certain paths to another provider. HubSpot documents this setup and warns that running your own reverse proxy takes significant operational knowledge and maintenance. Some tools don’t offer a path option at all. Zendesk’s host mapping, for example, works with a subdomain such as support.yourbrand.com but not with a path like yourbrand.com/community/hc.
If you have a developer who’s comfortable maintaining a proxy, a subdirectory can still work. If you don’t, a subdomain is the easier route.
When a subdomain fits
Subdomains earn their keep when part of your business runs on different software, a different server or a different team’s tools. Some typical setups look like this.
- shop.yourbrand.com for a store on an e-commerce platform while the main site stays on WordPress
- support.yourbrand.com or help.yourbrand.com for a help center on a customer support platform
- app.yourbrand.com for software your customers log in to
- pages.yourbrand.com for landing pages built in a marketing tool
- status.yourbrand.com for an uptime page hosted somewhere other than the site it reports on
- staging.yourbrand.com for testing changes before they go live
Setting one up usually means adding a DNS record, often a CNAME, that points the subdomain at the provider. HubSpot describes the arrangement as hosting content on a subdomain while the main website stays hosted elsewhere. Zendesk follows the same pattern, with a CNAME record that maps support.yourbrand.com to your Zendesk address.
Staging sites need one extra step. Google’s robots.txt documentation says robots.txt isn’t a way to keep a page out of Google, and a blocked URL can still be indexed if other sites link to it. Put the staging subdomain behind a password or add a noindex rule instead.
The bigger risk with subdomains shows up years later, when you stop using a tool. Say you cancel your help desk subscription but leave the CNAME record pointing at the provider. Mozilla’s web security documentation (MDN) describes what can happen next. Someone else opens an account with that provider, claims your subdomain and publishes their own content on it. From there, MDN warns, an attacker may be able to read cookies set from your main domain, run malicious scripts or capture login details.
Preventing it comes down to order. When you add a subdomain, set up the service first and create the DNS record last. When you retire one, redirect it or show a maintenance page, then remove its DNS record, wait for cached copies to expire based on the record’s time to live (TTL) and cancel the service last. Keep a running list of every subdomain, what it points to and who’s responsible for it, and the cleanup won’t depend on someone’s memory.

When a separate root domain fits
A separate domain is worth the extra work when the thing you’re launching needs to stand on its own, as in these three situations.
- A second brand with its own audience. A renovation company that starts a line of cabinets sold through hardware stores might give the cabinets their own domain, since shoppers in a store aisle don’t need the renovation pitch.
- Something you might sell or spin off. A domain can transfer to a buyer along with the business. A subdirectory or subdomain would have to be moved out first, with all the redirects that involves.
- A campaign or microsite with its own identity, such as an annual event or a product launch that’s meant to feel separate from your main site.
The price is that you’re running a second website. Everything in the table’s last column applies, and the new domain starts with none of the links or name recognition your main site has built up.
Owning extra domains isn’t the same as running extra sites, though. Registering a common misspelling or another extension of your name and pointing it at your main site with a permanent redirect protects the name without giving you a second site to look after.
International versions: country domain, subdomain or subdirectory
Selling in more than one country or language brings the same three options back, this time with country codes attached. Google’s guide to managing multi-regional sites lists the trade-offs:
| Option | Example | What Google lists in its favor | What Google lists against it |
|---|---|---|---|
| Country-code domain | yourbrand.de | Clear geotargeting, server location doesn’t matter, easy to keep sites separate | Expensive, with limited availability, more infrastructure, strict requirements in some cases, targets one country only |
| Subdomain | de.yourbrand.com | Easy to set up, servers can sit in different locations, easy to keep sites separate | Visitors might not recognize the targeting from the URL alone (is "de" a language or a country?) |
| Subdirectory | yourbrand.com/de/ | Easy to set up, low maintenance because it’s one host | Visitors might not recognize the targeting from the URL alone, one server location, harder to separate the sites |
URL parameters (yourbrand.com?loc=de) are on Google’s list too, marked as not recommended. And the strict requirements are real. A .ca domain, for example, is only open to people and organizations that meet CIRA’s Canadian Presence Requirements.
Two more details trip people up. Google works out a page’s language from its visible text, not from code-level language attributes or the URL, so /fr/ in an address doesn’t tell Google the page is in French. If you run several language or country versions, hreflang annotations help Google send searchers to the right one.
The second is overhead. Splitting a site across country domains creates work for you and for search engines. In a December 2025 Reddit reply reported by Search Engine Roundtable, Mueller questioned whether a software company really needed separate ccTLDs, saying separate domains make each site harder for search engines to understand. Subdirectories are the only option in Google’s table it calls low maintenance, which makes them a sensible place to start if you’re entering one or two new markets.
Four questions to decide where it lives

- Does it need an independent brand or website? If it does, a separate domain is a sensible starting point. If it’s another part of the same business, move on to the next question.
- Will it run on the same platform as your main site? If it will, use a subdirectory. If it needs different software, use a subdomain, unless you have a developer who can set up and maintain a reverse proxy.
- Who’ll look after the extra setup? Every subdomain or extra domain adds DNS records, certificate coverage and settings that someone has to track. If nobody owns that job, keep the number of separate addresses small.
- Could you sell it or spin it off one day? If there’s a real chance, start it on its own domain.
If you already have a setup that works, think hard before changing it. Moving a section to a new address counts as a site move with URL changes, and Google’s site move guide recommends server-side permanent redirects (301s) from every old URL to its new one, kept for as long as possible and generally at least a year. Google also warns that rankings may fluctuate while it recrawls, and that a small to medium site can take a few weeks for most pages to move.
Before you add that store, help center or second brand, write down which platform it’ll run on and who’ll maintain it. Those two answers usually point to the right address.

Tech Help Canada Staff researches, writes, and reviews practical content for business owners and professionals. Our coverage spans business, marketing, SEO, technology, and the tools and systems people use to grow and operate online. We focus on clear, useful information backed by research, hands-on experience, and editorial review. Learn more about our team and editorial standards. Need help with something? Contact Us







