Key takeaways
- A subdirectory keeps content inside your main site; a subdomain is treated more like a separate site.
- For a blog or help centre that should strengthen your main site, subdirectories are simpler.
- Subdomains suit separate apps, regions or platforms on different servers.
Subdirectory (example.com/blog) | Subdomain (blog.example.com) | |
|---|---|---|
| How it’s set up | A folder or route on the same site | A DNS record, can point anywhere |
| Hosting | Same server and app (or a proxy) | Can be a different server or platform |
| SEO | Shares the main site’s authority directly | Treated more like a separate site |
| Analytics | One property | Often separate tracking |
| Cookies | Shared | Need domain-wide cookie settings |
Choose a subdirectory when
- The content supports your main site: a blog, guides, a help centre, product pages.
- You want everything in one place for search engines and users.
- It runs on the same platform as the main site.
Choose a subdomain when
- It’s a distinct application:
app.,shop.on a hosted e-commerce platform,status.ormail.. - It must live on different infrastructure.
- You run separate regional or language sites with their own teams.
Our take
For content meant to grow your main site’s visibility, a subdirectory is the simpler, safer default. Use subdomains for things that are genuinely separate.
Frequently asked questions
Do subdomains hurt SEO?
Not inherently. Search engines can rank subdomains well, but they may take longer to benefit from the main site's reputation, and you'll manage them as separate properties in Search Console.
Can I run a subdirectory on a different platform?
Yes, with a reverse proxy that serves /blog from another server, but it's more complex than pointing a subdomain's DNS record.