Changing hosting providers is common when a website is slow, overloaded, or needs a more powerful server. If done carefully, search rankings are usually not affected much because the page addresses stay the same. The difficulty lies in small errors, such as an expired SSL certificate, wrong redirects, or a robots file blocking by mistake. Below is a checklist in order.
Before Moving: Backup and Build a Trial Version
- Back up everything: website files, the database, and email if the hosting holds mailboxes. Keep a copy outside the old hosting. If the website is a store, also see simple online store to know which functions to test.
- Record the current configuration: PHP version, extensions, scheduled tasks (cron), DNS records (A, MX, TXT), and existing redirects.
- Build a copy on the new hosting: test using a temporary domain or by editing the hosts file on your computer to open the new version without changing DNS.
- Test the trial version: main pages, contact forms, the cart if any, email sending, images, and internal links. Run test form submissions and payments.
- Choose the right PHP version. Old software may break on a newer version; see the article upgrading PHP for WordPress.
Google advises that when moving a website you should check the new version carefully, set up robots.txt correctly, and remove any temporary `noindex` directives before launch.
Lower TTL and Update DNS
TTL (time to live) is how long DNS servers remember a record before asking again. If the TTL is long, visitors may be sent to the old server for many hours after you make the change.
- One to two days before the move, lower the TTL of the A record and related records to the lowest level your DNS provider allows.
- When the trial version is ready, switch the A record (or the name servers) to the new address, choosing a time with few visitors.
- Keep the old hosting running for a while longer so users whose DNS has not yet updated can still get in.
- If you have domain-based mailboxes, make sure the MX record is not lost.
Google's guidance page does not discuss TTL; this is general operating practice. If you use a content delivery network, see Cloudflare CDN Basics, because you may have to clear the cache after the change.
Check Redirects and SSL
After DNS points to the new server, check:
| Item | How to Check |
|---|---|
| SSL Certificate | Open with https, with no warnings; install the certificate on the new hosting beforehand or right when switching DNS |
| 301 redirect | Old addresses must redirect to the correct new addresses, not all to the homepage |
| http to https, www vs. non-www | Only a single version, with the others redirecting to it |
| Status codes | Deleted pages return 404 or 410, not an empty page with code 200 |
| robots.txt and canonical tags | No leftover `noindex` or blocking from the test environment |
| Sitemap | Addresses in the sitemap match the real addresses |
Google recommends using server-side redirects (301 or 308), pointing each old address directly to its corresponding destination address and keeping redirects for a long time, "generally at least one year". When you only move hosting without changing page addresses, the existing redirects need to be carried over as-is to the new configuration.
Monitor Search Console After the Move
In the first 2–4 weeks:
- Open the indexing report and look for new errors such as pages not found or blocked.
- Check the crawl stats report to see whether Googlebot can access the site and the response time.
- Compare search traffic and queries with the previous period.
- Resubmit the sitemap if addresses have changed.
- Check the server access logs, if available, to detect 5xx errors.
Google says rankings may fluctuate when a site is moved and need time to stabilize. If you only change hosting, fluctuations are usually small, but you should still monitor. The new server's speed also affects the experience; see Page Experience and Core Web Vitals.
Easily Forgotten Items
- Domain renewal does not depend on hosting, but do not let the domain expire during the move.
- Update IP addresses in firewalls, email sending services, and third-party APIs.
- Check that automatic backups on the new hosting are enabled.
- If the old hosting runs an operating system nearing end of support, see also CentOS 8 Ends Early.
- Notify the sales team about the move window to avoid receiving orders during maintenance.
If you need help choosing hosting or a VPS or planning a move, you can contact the HVSC Technology team via the page hosting and VPS or SEO.
2026 update: The principles above remain the foundation, but the Search Console interface and reports have changed. See Google's latest guidance. On backups, see offline backups. For more on how Google later evaluates content, see Helpful Content Update 8/2022 and E-E-A-T Adds Experience.
FAQ
Does Moving Hosting Lose Your Rankings?
If page addresses stay the same and the site runs stably, the impact is usually small. The risk comes from errors such as SSL, wrong redirects, or accidental blocking by robots.txt.
How Long Should You Keep the Old Hosting?
It is best to keep it for a while after the DNS change so users who have not updated can still get in, and to recheck. The exact duration depends on the TTL.
How Long Should Redirects Be Kept When Changing a Page's Address?
Google says generally at least one year.
Reference sources
- Google Search Central — https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes
Need advice on websites, software or security?
Describe the problem, and HVSC engineers will discuss the scope and options suited to your business.
FAQ
Does Moving Hosting Lose Your Rankings?
If page addresses stay the same and the site runs stably, the impact is usually small. The risk comes from errors such as SSL, wrong redirects, or accidental blocking by robots.txt.
How Long Should You Keep the Old Hosting?
It is best to keep it for a while after the DNS change so users who have not updated can still get in, and to recheck. The exact duration depends on the TTL.
How Long Should Redirects Be Kept When Changing a Page's Address?
Google says generally at least one year.
- iPhone with full storage: back up first, then clean up, to avoid losing data
- Black Friday 2026: How to Tell Real Deals from Fake Ones Before You Buy
- Cài phần mềm trên Ubuntu: apt, snap và những lưu ý khi cập nhật













▶
▶
▶
▶
▶