Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

Subdomain vs Subdirectory (2026): Hosting, Separation and SEO

A subdomain and a subdirectory both put new content under your brand, but one is a separate host name and the other is a folder. A subdomain, like de.example.com, can sit on a different server and is easy to separate; a subdirectory, like example.com/de/, stays on the same host with low maintenance. Decide by your hosting and separation needs.

Ask a developer and a marketer where the new blog should live and you'll often get two different answers, both given with confidence. The developer's thinking about servers and deployments; the marketer's thinking about the main brand and how it's found in search. Both are thinking about real things. Google's own guidance, written for sites that serve several countries or languages, lays the trade-off out more plainly than most debates do, and it's mostly about hosting and separation.

A separate host name or a folder

The difference is in the address. A subdomain adds a name in front of your domain, so the German version of a site might sit at de.example.com. A subdirectory adds a folder after it, so the same German content would sit at example.com/de/. To a visitor both look like your brand. Under the bonnet, a subdomain can be treated as its own site, while a subdirectory is part of the main one.

Google's guidance on this comes from its page on managing multi-regional and multilingual sites, so its examples are about countries and languages. The trade-offs it lists still describe how the two structures behave, which is why they're useful when you're deciding where a blog, shop or help centre should go. Just keep in mind that Google wrote them with regional sites in mind.

A quick way to tell them apart in any address: everything before your main domain name is a subdomain, and everything after the first slash is a folder path. Once you can read that at a glance, conversations with developers get a lot shorter.

Upsides and downsides in Google's own table

Google sets the options out in a pros and cons table, and both of these share one upside: they're easy to set up. The differences sit elsewhere.

Subdomain upsides. Google lists easy set-up, the option of different server locations, and easy separation of sites. If a section needs its own hosting, its own platform or its own team running it, a subdomain makes that simple.

Subdomain downside. Google notes that users might not recognise geotargeting from the URL alone. A visitor seeing de.example.com may not read it as a German site the way they would a clearer country signal.

Subdirectory upsides. Google lists easy set-up and low maintenance, because everything lives on the same host. One site, one set of updates, one place to look when something breaks.

Subdirectory downsides. Google lists a single server location and harder separation of sites. If one section needs very different hosting, or you might want to split it off one day, a folder makes that harder.

Read together, the table isn't saying one structure is better for search. It's saying the real trade-off is operational: shared hosting and simple upkeep on one side, independence and easy separation on the other.

What Google says about language and geotargeting

There's one detail on Google's page that catches people out. It says language-specific subdomains in its example URLs aren't used by Google to determine the target audience for a page, so you have to map that explicitly. In other words, putting content on fr.example.com doesn't tell Google it's for French speakers. Google tells site owners to use hreflang to tell it about the variations of their content.

Google also says that for a multi-regional site you should consider a URL structure that makes it easy to geotarget, and its URL structure page shows a country-specific subdirectory on a generic top-level domain as a recommended example. That's specific to regional sites, but it's worth knowing if your plan includes a UK section, a US section or several languages.

If you only serve one country in one language, the geotargeting detail won't affect you, and the choice comes back to the operational trade-off above: one host and low upkeep, or a separate host and easy separation. That's a question for whoever looks after your site day to day, more than a search question.

Subdomain and subdirectory, in no particular order

Subdirectory

Best for: Keeping a new section such as example.com/de/ on the same host, which Google lists as easy to set up and low maintenance.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

Subdomain

Best for: Running a section such as de.example.com on its own server location, with sites that Google says are easy to separate.

One table, two structures

ToolStructureFits sections that
SubdirectorySite structure optionSections kept on the main site and host
SubdomainSite structure optionSections that need their own server location

Blogs, shops, help centres and regional sites

Here's how I'd apply Google's trade-off to the decisions small businesses face. A blog that's run by the same team on the same platform as the main site sits comfortably in a subdirectory, because you get one host and low maintenance. A shop or help centre that runs on a separate platform, with its own hosting, often ends up on a subdomain, because separation is the whole point.

For regional sites, follow Google's lead: a country subdirectory is its recommended example, and either way you'll need hreflang to say which version is for whom. Before you move anything, map what you've got; my guide to mapping your website structure walks through it, and this one on using a sitemap tool to improve site structure helps once you've decided. If you're on Wix, read about setting up a Wix subdomain.

Whatever you settle on, write the reason down. Structure decisions outlive the people who make them, and the next person to touch the site will want to know why the help centre lives where it does before they move it.

Do you make website building or site structure software? Tool makers can ask to be considered for a featured place on this list.

Want your tool on this list? Featured spots and reviews here are paid partnerships. Here's how to partner with me.

Frequently asked questions

Is a subdomain or a subdirectory better for SEO?

Google's multi-regional guidance doesn't frame it that way. It lists both as easy to set up and puts the trade-off in hosting and separation: subdomains allow different server locations, subdirectories share one host with low maintenance.

What's an example of each?

A subdomain looks like de.example.com, with a name in front of the domain. A subdirectory looks like example.com/de/, with a folder after it.

Does Google use a language subdomain to decide who a page is for?

No. Google says language-specific subdomains in its example URLs aren't used to determine the target audience, so you need to map it explicitly, for example with hreflang.

What's hreflang?

It's the markup Google tells site owners to use to describe the language or regional variations of their content, so the right version is shown to the right audience.

Should my blog go on a subdomain?

If it runs on the same platform and host as your main site, a subdirectory keeps maintenance low. If it needs separate hosting or a separate team, a subdomain makes that separation easy.

Can I change from one structure to the other later?

Yes, but it means moving URLs, so plan redirects and map your site first. Google lists harder separation as a downside of subdirectories, which matters if you expect to split a section off.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.