Domain Statistics

Guides · updated 19 Nov 2026

Moving a website to a new domain

How to change a site's domain name without losing its search traffic: mapping old URLs, permanent redirects, Google's Change of Address tool, and how long to keep the old domain.

The open back of a removal lorry loaded with cardboard boxes and furniture
A removal lorry being loaded with boxes Photo: brownpau, CC BY 2.0

Changing a website's domain name, perhaps after a rebrand or a move from a .com to a .co.uk, doesn't have to cost you your search traffic. Search engines can carry a site's history across to a new address, but only if every old page clearly points to its new home. This guide follows Google's own site move guidance, which is the most detailed published by any search engine.

Before you start

Moving domain is a different job from moving host. If your web addresses stay the same and only the server changes, Google's advice for moves without URL changes is simpler: lower your DNS TTL to a few hours at least a week beforehand, switch the DNS, and keep the old server running until its traffic has dropped to zero. Our guide to DNS records explains TTLs.

If the URLs change, which they always do when the domain changes, plan the move in advance:

  • Change one thing at a time. Google advises against changing domain, content management system and design all at once. A plain domain swap with the same pages is the easiest move for search engines to follow.
  • Set up the new site fully. Copy across images and downloads such as PDFs as well as pages, since these may get search traffic or links of their own. Install an SSL certificate on the new domain (how certificates work).
  • Verify both domains in Google Search Console. Google suggests verifying every variant of both sites, including www and non-www, and http and https.
  • If the new domain was owned before, check it for problems the previous owner left behind. Google's guidance mentions manual actions and leftover URL removals. Our guide to buying expired domains covers the other history checks.
  • Remove development blocks when you launch. A noindex tag or a robots.txt block left over from testing is one of the mistakes Google lists.

Map every old URL to a new one

Make a list of your old URLs and where each one should go. Google suggests building the list from your sitemaps, analytics, server logs, the links report in Search Console and your CMS. For a straight domain change where every path stays the same, a single wildcard rule on the server may do the whole job, sending old.example/any/page/ to new.example/any/page/.

On the new site, update internal links to the new addresses, give each page a canonical tag pointing to itself, and prepare a sitemap of the new URLs.

Pages you're dropping should return 404 or 410 on the new site. Don't redirect lots of old pages to one unrelated page, such as the new home page. Google says that confuses visitors and may be treated as a "soft 404". Merging several old pages into one new page that covers the same ground is fine.

Use permanent, server-side redirects

How you redirect matters. Google treats redirects in two groups:

  • Permanent: HTTP 301 and 308, and an instant (zero-second) meta refresh. Google takes these as a strong sign that the new URL should be the one shown in search results.
  • Temporary: HTTP 302, 303 and 307, and delayed meta refreshes. The old URL tends to stay in search results.

For a domain move, use 301 or 308 redirects set up on the server, through .htaccess, your web server's configuration or your CMS's redirect feature. Google calls JavaScript redirects a last resort, because it may not see them.

Send each old URL straight to its final address. Redirect chains slow visitors down. Google says Googlebot follows up to 10 hops, but advises keeping chains to no more than three, and fewer than five at most. A common trap is an old http:// address that goes first to https://, then to www, and only then to the new domain.

Tell Google and Bing

Once the redirects are working, use the Change of Address tool in Search Console. Its requirements:

  • You must be an owner of both the old and new properties, using the same Google account.
  • The 301 redirects must already be in place, at least from the old home page to the new one.
  • It only works for a change of domain or subdomain. It isn't for moving from http to https, from www to non-www on the same domain, or moving pages around within one site.
  • Run it for each variant of the old domain you use, such as both www and non-www.

Google says the tool's effects last for 180 days, during which it prioritises crawling the new site and passes signals across from the old one. It does not remove the old site from the index.

Then submit the new sitemap in Search Console and remove the old one.

Bing Webmaster Tools has its own Site Move tool. A guest post on Bing's webmaster blog recommends reporting the move there once the redirects are live, after verifying the site.

After the move

Expect some ups and downs. Google says a medium-sized site can take a few weeks or more for the new URLs to replace the old ones in results, and larger sites take longer. To keep track:

  • Watch the Sitemaps and Page indexing reports in Search Console. The new site's indexed pages should rise as the old site's fall. Our guide to checking Google indexing explains the reports.
  • Check your server logs and analytics for errors and for traffic on both domains.
  • Ask the sites that link to you most to update their links, and update your social profiles, adverts, email signatures and printed material.

How long to keep the old domain

Google's advice is to keep the redirects for at least a year, and it suggests keeping them indefinitely if you can. The Bing guest post suggests at least one to two years, preferably longer.

In practice, that means keeping the old domain registered. If it lapses, the redirects stop and, once the registry releases the name, anyone can register it, along with the links still pointing to it. Our guide to buying expired domains explains how quickly that can happen. Keeping the domain also stops others sending email that appears to come from it. If the old domain no longer sends email, publish the "parked domain" records described in our SPF, DKIM and DMARC guide.

Checking the redirects

  1. Run the old domain through the Domain Statistics lookup. The Website panel lists each redirect hop with its status code, for both https and plain http, so you can see whether the home page goes straight to the new domain with a 301 or 308.
  2. Use the URL Inspection tool in Search Console to test individual old URLs, especially your busiest pages.
  3. Look up the new domain too. Check its certificate, DNS and email records before you switch the redirects on.

Advice above is as published by Google and on Bing's blog, checked in November 2026. Search engines change their tools, so check their current help pages before a large move.

Sources

  • developers.google.com — Google Search Central: site moves with URL changes – prepare the new site, verify all old and new variants in Search Console, map every old URL, server-side 301/308 redirects straight to the final URL, avoid redirect chains (ideally no more than 3, fewer than 5; Googlebot follows up to 10), don't redirect many old URLs to one irrelevant page (soft 404), keep redirects at least 1 year, submit the new sitemap, medium sites can take a few weeks or more to settle, check a bought domain for manual actions
  • support.google.com — Search Console Change of Address tool – owner of both properties with the same account, 301 redirects first (at least the home page), domain-level properties only, run it for each variant used, effects last 180 days, not for http to https, www to non-www or path changes, old site not removed from the index
  • developers.google.com — Google Search Central: redirects and Google Search – 301 and 308 and instant meta refresh treated as permanent, 302, 303 and 307 as temporary; JavaScript redirects a last resort
  • developers.google.com — Google Search Central: moving hosting without URL changes – lower the DNS TTL to a few hours at least a week before, keep the old host running until its traffic reaches zero, crawl rate may dip for a few days
  • blogs.bing.com — Bing Webmaster Blog guest post, 17 December 2020: report the move with the Site Move tool in Bing Webmaster Tools after the redirects are live; keep the old domain's redirects for at least 1 to 2 years, preferably longer

Facts checked on 19 Nov 2026. Rules and figures change — check the source if it matters.