How to Move a Website to a New Domain or Host Safely

Moving a website is safe if you do it in order: back up everything, build and test the new version, copy the content, point the old addresses to the new ones with redirects, switch DNS when ready and monitor for weeks afterwards. Most lost traffic comes from missing redirects and forgotten details, not from the move itself.
Two kinds of move
A host move keeps the domain name and changes the server. Visitors should notice nothing, if done well. A domain move changes the address itself, for example from an old name to a new brand. This is riskier for search, because search engines must learn that the new address replaces the old one. Some moves are both at once. Treat each part as its own checklist.
Step 1: plan and record the current state
- List all addresses on the site. Export them from your sitemap or a crawl tool.
- Note the pages that bring traffic and enquiries, using your analytics.
- Record current DNS settings, email setup and any external services tied to the site.
- Take a full backup of files and database, and store a copy away from the server, see the backup guide.
Step 2: build the new site and test it
Set up the new hosting and copy the site there. Test it on a temporary address or by editing your computer's hosts file so only you see it. Check pages, forms, images, search, logins and checkout. Make sure the new site does not get indexed by accident, for example by blocking search engines while testing, and remember to remove the block at launch. This forgotten block is a classic cause of vanishing traffic.
Step 3: prepare redirects
If addresses change, create a map of old address to new address, page by page. Use permanent redirects so visitors and search engines land on the right page, as explained in the 301 redirects guide. Avoid sending everything to the homepage, which loses relevance. If the structure stays the same, only the domain changes, a single rule can map each old address to the same path on the new domain. Review the structure while you are at it, see the URL structure guide.
Step 4: lower the DNS waiting time
DNS records have a time-to-live value that controls how long other systems cache them. A day or two before the move, lower it to a few minutes. Then the switch spreads quickly. After the move is stable, you can raise it again.
Step 5: switch
- Choose a quiet time, such as a weekday evening, not a launch day.
- Freeze content changes shortly before, so nothing is lost between copy and switch.
- Update DNS to point to the new server. For a domain move, activate redirects on the old domain.
- Confirm the security certificate works on the new setup, see the HTTPS guide.
- Keep the old hosting active for at least a few weeks, in case something needs to be rechecked.
Step 6: tell search engines
In Search Console, add the new site. For a domain change, use the change of address tool if it applies. Submit the new sitemap. Check that the canonical tags and internal links use the new address, see the canonical tag guide. Update links you control: social profiles, directory listings, email signatures, ad accounts and your analytics settings.
Step 7: do not forget email
If email runs on the same domain, check that mail records are moved correctly. Missing records cause lost messages or spam placement, see the email authentication guide. Send test emails in both directions before and after.
What to monitor after launch
- Crawl the new site for broken links and redirect chains.
- Watch Search Console for crawl errors and coverage problems.
- Compare traffic with the weeks before the move. A small dip is normal and often recovers.
- Check forms, payment and emails again.
Expect search results to take weeks, sometimes months, to settle. Keep redirects in place for at least a year, ideally longer.
Common mistakes
- Forgetting to remove the "do not index" setting after testing.
- Redirecting every page to the homepage.
- Letting the old domain expire, which breaks redirects.
- Changing the design, structure and domain in one go, so problems cannot be traced.
- Not backing up before starting.
A worked example
A local bakery moves from a free site-builder address to its own domain and a new host. The owner exports a list of eighty pages, backs up everything, builds the new site and tests it on a temporary address. A spreadsheet maps each old address to its new one, and the redirects are set up before the switch. On a Tuesday evening DNS is changed, the certificate is checked and email is tested. Search Console is updated the same night. Traffic dips for about two weeks and then returns above the old level, because the new site loads faster. The owner kept the checklist and used it again for the second shop.
A short pre-launch checklist
- Backup stored away from the server.
- Redirect map complete and tested on a sample.
- Search engine block removed from the new site.
- Certificate valid, forms and emails tested.
- Analytics tag present exactly once.
- Old hosting and domain renewal dates noted.
FAQ
Will I lose my rankings if I move?
A careful move with proper redirects usually causes only a temporary dip. A careless one can lose a lot.
How long does DNS take to update?
From minutes to a day or more. Lowering the time-to-live beforehand helps.
Should I change the design during the move?
Better not. Move first, redesign later, so you can see what caused any change.
How long do I keep the old hosting?
At least a few weeks, and the old domain for at least a year.
Can I move without downtime?
Often yes, by running the new site in parallel and switching DNS when it is ready.
Your next step: export a list of all your current addresses and mark the ten that bring the most visits. Those are the ones to test first.