How to Change Your Domain and Keep Your SEO Ranking
A domain change can hurt search visibility if done carelessly. Follow a step-by-step plan with redirects, canonical tags, sitemaps and monitoring.
10 min readUpdated Nov 28, 2026By XPASS Editorial Team

Why a domain change puts rankings at risk
A domain is not just a name; to a search engine it is the address under which every page, link and signal has been collected. When you change the domain, you are asking the search engine to carry that accumulated understanding from one address to another. If you do it carefully, most of it follows. If you do it carelessly, the old pages vanish, the new ones start from nothing, and visitors who follow old links land on error pages.
That is why a domain change should be treated as a project with a plan, not an afternoon task. It is useful to think of the move as three promises you make to the search engine: first, that every old page has a specific new home; second, that the new site is a faithful continuation of the old one; and third, that you will keep both in good order while the engines catch up. Nothing in this process can promise that rankings stay exactly where they were, and some movement for a few weeks is normal. The goal is to keep the dip small and short.
Typical reasons for a move include a rebrand, a better name becoming available, a merger, a legal conflict, or a change of country focus. If you are not sure the move is worthwhile, read about how much a name matters for ranking first, because name alone is rarely the cause of weak results. If you do proceed, this guide walks through the steps. Preparing the new address well is covered in what a new domain needs before SEO, and the bigger question of order is in whether to start with the domain or the content.

Before you move: audit and plan
The quality of the move is decided before any redirect is created. Spend time on these preparation tasks.
- Confirm the reason. Write down why you are moving and what success looks like. A clear reason helps you resist unnecessary changes during the migration.
- Choose the timing. Avoid your busiest season, major campaigns and other large changes. Moving the domain while also redesigning the site and rewriting URLs multiplies the risk, so change one thing at a time where you can.
- Secure the new domain. Register it, set up DNS and HTTPS, and make sure it is not blocked from crawling. The domains page lets you check and register names, and the SSL page covers certificates.
- Inventory the old site. Export a full list of existing addresses from your platform, your sitemap and your analytics. Include pages that receive visits, pages that have attracted links, images and documents that are linked directly.
- Record the baseline. Save current numbers for visits from search, the main queries and the pages that bring most traffic, plus the count of indexed pages. Without a baseline you cannot tell whether the move succeeded.
- Keep the structure. If possible, keep addresses identical after the domain part, so that old-site/blog/post becomes new-site/blog/post. A one-to-one pattern makes redirects simple and reduces mistakes.
- List dependencies. Note every system that mentions the domain: email, payment settings, social profiles, third-party tools, API keys with allowed origins and printed material.
Communicate the plan to everyone involved. Content writers, developers, marketers and customer support all touch the domain in different ways, and a short shared document with the date, the owner of each task and the rollback plan prevents surprises. Decide in advance who can approve changes during the move and how you will undo them if something goes badly wrong, for example by keeping a copy of the previous server settings.
The redirect map
The redirect map is the heart of the migration. It is a table with two columns: every old address and the matching new address.
Rules for a good map:
- Map each old page to the closest equivalent new page, not to the home page. Sending everything to the home page looks like a soft error to search engines and wastes the signals the old pages earned.
- Use permanent redirects. HTTP defines status codes for permanent moves, described in RFC 9110. The common choices are 301 and 308. A temporary redirect says the old address may return, so avoid it for a lasting move.
- Avoid chains. If old address A goes to B and B goes to C, change A to point to C directly. Long chains slow crawling and risk breaking.
- Include both versions. Cover the old domain with and without www, and with HTTP and HTTPS, so every variant lands in the right place.
- Keep the query and path. When the structure is unchanged, a rule that preserves the path handles thousands of pages with a single line in your server or hosting settings.
- If a page is retired, choose deliberately: redirect to a closely related page, or let it return a proper not-found response. Do not redirect unrelated pages just to avoid errors.
| Situation | Recommended handling |
|---|---|
| Same path on new domain | One rule that preserves the path |
| Page renamed during the move | Specific entry in the map |
| Page removed with a close replacement | Redirect to the replacement |
| Page removed with no replacement | Return not-found, avoid irrelevant redirects |
| Old www and non-www forms | Redirect both to the final address |
Moving day: the steps in order
Once the plan and map are ready, move in this order. Each step should be checked before the next begins.
- Copy the site to the new domain and test it fully while it is still hidden or protected. Check pages, forms, images, search and scripts.
- Update the site settings so that the main address is the new domain. Change internal links, canonical tags and sitemap entries to the new domain. A canonical tag tells search engines which address is the preferred version of a page, and the article on canonical URLs and domain choice explains how to use it.
- Make sure the new site is open to crawlers. Remove any temporary noindex tag and check the robots.txt file allows crawling.
- Install HTTPS on the new domain and confirm every page loads securely.
- Switch on the permanent redirects from old addresses to new ones. Test a sample of important URLs, including old images and old query strings.
- Submit the new sitemap, and keep the old sitemap available for a while so the engine can discover the redirects.
- In the search engine's webmaster console, verify both the old and new domains. If a change of address tool is offered, use it once the redirects are live.
- Update external profiles and the places you control: social profiles, business listings, email signatures, advertising destinations and partner pages.
- Move email carefully. If you use business email on the old domain, plan the mailbox change and keep receiving mail on the old address for a period. The business email page shows options for setting up mailboxes on the new name.
Do the DNS cutover in a quiet window. Lower the TTL of the old records a day or two ahead so that changes spread faster, as explained in the overview of DNS in RFC 1034.
A worked example
A small training company called Harbor Academy rebrands and moves from an old domain to a new one. It has about two hundred pages and keeps the same URL structure after the domain.
Before the move, the team exports all two hundred addresses, saves the weekly search visits and lists the twenty pages that bring the most traffic. They register the new domain, install HTTPS and build the redirect rule: any path on the old domain goes to the same path on the new domain with a permanent redirect. They prepare three exceptions for pages whose names changed and one retired page that gets a not-found response.
On moving day they update canonical tags, the sitemap and internal links, remove the temporary noindex, test twenty sample URLs and switch on the redirects. They verify both domains in the webmaster console and use the change of address option. In the following weeks they check the coverage reports every few days, fix a handful of redirect typos and update their business listings. Visits dip for about two weeks and then recover as the new pages are recognised. The old domain stays registered and redirecting.

After the move: monitoring
The move is not finished when the redirects are on. Plan for several weeks of watching.
- Check the indexed pages for the new domain. The count should rise as the old one falls.
- Look for crawl errors, soft not-found pages and redirect loops in the reports.
- Compare search visits and top queries with your baseline. Expect a dip, and investigate only if it is large or persistent.
- Re-crawl your own site with a crawler tool to find internal links that still point to the old domain.
- Watch for mixed content or certificate warnings on the new domain.
- Track backlinks. Contact the owners of important sites that link to you and ask them to update to the new address. Redirects pass most of the value, but a direct link is cleaner.
- Keep the old domain renewed. Redirects work only as long as the old domain stays registered and pointed at a server that answers.
Finally, keep communicating with visitors. A short notice on the old site, or in your newsletter, explaining that the address has changed helps people who have bookmarked pages and reassures them that the new address is genuine. It also reduces support questions in the first weeks.
Limits and what to watch for
Even a textbook migration has limits you should be honest about.
- Rankings can move. Search engines need time to process the change, and your competitors keep changing too. Some pages recover quickly, others slowly, and a few may not return to the same position.
- The name does not carry its history by itself. The new domain inherits signals through redirects and consistent signals, not through ownership of the old name.
- Do not combine too many changes. A new design, new URLs, new content and a new domain together make problems impossible to diagnose.
- Do not delete the old site or let the old domain lapse after a few weeks. Old links last for years.
- Do not use redirects to funnel unrelated sites together, or buy domains purely to redirect them. Redirects should reflect a real continuation of content.
- Check sub-resources. Images, scripts, fonts and downloads that still point to the old domain can break when the old server is removed.
- Email and third-party services can fail silently. Test sending and receiving, forms, payment callbacks and any integration that checks the domain name.
- Search engine tools and policies change. Treat the official documentation as the source of truth and use this guide as a plan.
If after weighing the risks you decide the move is worthwhile, proceed calmly and keep a log of every step.
Summary
Changing a domain without losing SEO means preparing the new domain, auditing the old site, building a page-to-page redirect map with permanent redirects, updating canonical tags, sitemaps and internal links, using the webmaster tools to signal the move, and monitoring for weeks afterward. Keep the old domain registered, move one thing at a time and accept that a short dip is normal.
When you are ready to register the new name, the domains page is a good place to start.
Frequently asked questions
Will I lose my Google ranking if I change my domain?
Some fluctuation is normal after a move, but a careful migration with page-to-page permanent redirects, updated sitemaps and monitoring keeps the loss as small as possible. Skipping the redirects is what usually causes lasting damage.
Should I use a 301 or a 302 redirect for a domain change?
Use a permanent redirect, commonly a 301 or 308, because the move is lasting. Temporary redirects tell search engines the old address may return, which is not what you want here.
How long should I keep the old domain?
Keep it registered and redirecting for as long as you can, at least a year and ideally longer, because old links, bookmarks and search results continue to point to it.
Do I need to tell Google about the move?
Where the search engine offers a change of address tool in its webmaster console, using it after the redirects are live helps it process the move. Verify both the old and new domains first.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Start your website the right way
Register a domain, add SSL and set up business email from one place.
.com registration from $18.81 for the first year
Start with a domainKeep reading

Website Guides
What a New Domain Needs Before You Start SEO
A new domain needs more than a good name before SEO begins. Walk through the history check, technical setup and site foundations to prepare.
9 min read

Website Guides
SEO for a New Website: Start With the Domain or the Content?
A new website needs both a domain and content, but the order matters. Learn what each one contributes to search and how to sequence the work.
9 min read

Website Guides
What Is a Canonical URL and How Does It Affect Domain Choice?
A canonical URL names the preferred address when several URLs show the same page. Learn how it relates to your domain, www, HTTPS, redirects and sitemaps.
9 min read