SEO

Subdomain

Also called Third-level domain, host prefix

A prefix hostname such as blog.example.com — related to your root domain, but not the same site to a search engine.

Quick facts: Subdomain

Category
SEO
Also called
Third-level domain, host prefix
Level
Intermediate
Affects
Where authority accumulates, crawling, analytics setup
Where to see it
Your DNS panel, Google Search Console (one property per hostname), any site crawler
In this article4
  1. How a subdomain works
  2. Why subdomains matter
  3. Where subdomains go wrong
  4. What to do about it

How a subdomain works

A subdomain is a prefix on your domain — blog.example.com, shop.example.com, help.example.com. It is created by adding a record in your DNS settings and pointing it wherever you like, and that is the important part: a subdomain can live on a different server, run different software and be managed by a different team from the main site. The familiar www is itself a subdomain, which surprises most people.

Search engines can see that two hostnames share a root domain, and they often treat them as connected. They do not treat them as one site the way they treat folders on a single hostname. Strength earned by one hostname is not automatically credited to the other, and each one is verified, crawled and reported on separately.

Why subdomains matter

The decision usually arrives disguised as a technical convenience. A hosted help desk, a shop platform or a marketing tool offers you an address on their system, and the path of least resistance is to accept it. Do that for the content meant to win you search visibility — the blog especially — and your best material now sits on an address starting from a weaker position than the site it was supposed to support.

There are honest reasons to use one. Software that cannot run inside a folder of your main site, a customer login area, a staging copy, a regional section run by another team: all reasonable. The test is whether the separation is genuinely forced on you, not whether it is tidier for the people building it.

Where subdomains go wrong

Staging is the expensive one. A copy of the site on a development subdomain with no password gets crawled, indexed and shown to customers, and it competes with the pages you actually sell from. Anything not meant for the public needs authentication, not just a noindex tag, because a tag only asks nicely and only works once the page has been fetched.

Two others are common. Choosing a subdomain for the blog in the belief that search engines will merge everything anyway — they may, partly, but you are relying on a behaviour rather than designing for one. And forgetting that the www and non-www versions are different hostnames, so both must resolve, one must redirect to the other, and the one you keep is the one every report should refer to.

What to do about it

Default to a folder on the main site, and treat a subdomain as the answer only when a real constraint makes the folder impossible. Where a hosted platform cannot serve from a folder directly, a reverse proxy often can, and that is worth asking a developer about before you accept the subdomain they offer.

Where subdomains already exist, tidy them rather than fight them. Verify each in Search Console, link between them deliberately in navigation and in body copy, keep one canonical hostname for the main site, and password-protect anything not meant for customers. If you later decide to bring a subdomain into a folder, plan it as a proper site migration, with a redirect for every URL and a period of watching afterwards — it is not a settings change.

Do and do not

Do

  • Use a folder unless a technical limit forces a subdomain
  • Password-protect staging and internal subdomains
  • Verify every subdomain separately in Search Console

Do not

  • Put the blog on a subdomain out of convenience
  • Rely on search engines merging hostnames for you
  • Leave a development copy publicly reachable

Questions people ask about this

Is a subdomain or a subfolder better for a blog?

A folder on the main site is the safer default. Everything you publish then sits on one hostname, so internal links, navigation and accumulated trust all work in the same place and reporting stays simple. Choose a subdomain only when the publishing platform genuinely cannot serve from a folder and a reverse proxy is not an option for your setup.

Do subdomains have their own SEO?

In practice, yes. Each hostname is verified separately, crawled on its own and earns links in its own right. Search engines can see the shared root domain and often treat the two as related, but you should plan as though strength does not transfer automatically. Designing for that assumption costs nothing; assuming the opposite can cost a year of work.

Is www a subdomain?

It is. example.com and www.example.com are two different hostnames, and both can serve a site independently unless you tell them not to. Pick one as your canonical address, redirect the other to it permanently, and make sure your analytics property, sitemap and Search Console property all refer to the version you kept.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.