Once you have chosen a domain, a handful of technical decisions determine whether search engines see one consistent site or several competing copies of it. None of them is difficult, and getting them right at the start avoids problems that are tedious to fix later. This guide covers the setup: one canonical address, HTTPS, subdomains versus folders, international structure, and how to move domains without losing traffic. For choosing the name itself, see our domain SEO strategy guide.
Myths and facts
| Claim | What Google's documentation and statements say |
|---|---|
| Keywords in the domain boost rankings | Minimal effect. Low-quality exact-match domains were specifically targeted in 2012 |
| .com ranks better | No. Generic extensions are treated alike |
| Older domains rank better | Age in itself is not a factor |
| Longer registration helps | No |
| HTTPS matters | Yes. It is a lightweight ranking signal and a basic expectation of users and browsers |
| Country codes affect targeting | Yes. They signal the country a site is aimed at |
See Google's SEO Starter Guide and guide to ranking systems.
1. Choose one canonical address
Your site can be reached at four addresses: with and without www, over http and https. Search engines treat these as separate unless told otherwise.
- Pick one, for example
https://example.com. - Redirect the other three to it with permanent (301) redirects.
- Use that form in internal links, the sitemap and canonical tags.
Whether you use www or not makes no difference to ranking. Consistency is what matters.
2. Use HTTPS everywhere
- Install a certificate. Most hosts provide one free.
- Redirect every
httprequest tohttps. - Fix "mixed content", where a secure page loads images or scripts over
http. - Renew automatically. An expired certificate shows visitors a warning page.
3. Get DNS and hosting basics right
- Reliable DNS. If name servers fail, the site disappears for visitors and crawlers alike. Check what a public resolver returns with the DNS checker.
- Reasonable speed. Google's Core Web Vitals measure loading, responsiveness and visual stability. Test real pages with PageSpeed Insights.
- Correct status codes. Missing pages should return 404, not a 200 page that says "not found".
- Renew the domain. A lapsed domain takes the whole site out of search. See our renewal guide.
4. Subdomain or folder?
Should the blog live at blog.example.com or example.com/blog? Google says it can handle either. In practice:
- A folder keeps everything on one site, with one set of settings, one Search Console property and shared internal links. It is the simpler default.
- A subdomain makes sense when the content runs on a different platform or serves a clearly separate purpose, such as a help centre or an app.
If you use a subdomain, link the two sites to each other prominently and verify both in Search Console.
5. International structure
| Structure | Example | For | Against |
|---|---|---|---|
| Country-code domains | example.de | Clearest country signal | More domains to buy, manage and build up; some have residency rules |
| Subdomains | de.example.com | Easy to set up; can be hosted separately | Less obvious to users |
| Folders | example.com/de/ | One domain to maintain | Single hosting location |
Whichever you choose, use hreflang annotations to tell search engines which version suits which language or region. Google's guidance is in Managing multi-regional and multilingual sites. Our international domain strategy guide goes further.
6. Local businesses
For local search, the domain matters far less than a complete, accurate Google Business Profile, consistent name, address and phone details across the web, and reviews. Put your town and services in page titles and content rather than relying on the domain.
7. Moving to a new domain
Changing domains is the riskiest domain decision for search. If you must:
- Prepare the new site and check it works.
- Map every old URL to its equivalent new URL.
- Redirect each one with a 301. Do not send everything to the home page.
- Use the Change of Address tool in Google Search Console.
- Update internal links, the sitemap and canonical tags.
- Ask the most important sites linking to you to update their links.
- Keep the old domain registered and the redirects in place for at least a year, preferably indefinitely.
Expect some fluctuation for weeks. Google documents the process under site moves with URL changes.
8. Extra domains
Owning misspellings or other extensions of your name is fine. Redirect them to the main site with a 301. Do not publish copies of the site on them, and do not expect them to add ranking value.
Checklist
- One canonical address, three redirects.
- HTTPS with no mixed content.
- Domain on auto-renew, registrar lock on. Confirm with the WHOIS / RDAP lookup.
- XML sitemap submitted in Search Console.
- Real 404 responses for missing pages.
- Any subdomains verified and cross-linked.
A worked example
A consultancy finds its site indexed under both http://www. and https:// addresses, with links split between them. It chooses https://example.com, adds 301 redirects from the other three forms, updates internal links and the sitemap, and submits the sitemap in Search Console. Over the following weeks the duplicate addresses drop out of the index and reports consolidate under one property.
Common mistakes
- Using temporary (302) redirects for permanent changes.
- Redirecting every old page to the home page during a move.
- Letting the old domain lapse after a move.
- Running the same content on several domains.
Frequently asked questions
Does www matter?
No. Choose one and redirect the other.
How long does a domain move take to settle?
Usually a few weeks for most pages, longer for large sites.
Primary sources and further reading
These topic references support current guidance; they are not evidence for performance figures or tests not documented here.
