首先,将网站的副本上传到新的托管服务提供商。“网站副本��的������������取���于您的旧内容管理平台;它可能是您复制到新托管平台上的实际 HTML 文件,或者是您必须在新位置导入的数据库导出文件。上传完成后,您可以通过全面测试用户与网站的互动方式来验证网站是否可以正常运行。以下是几点建议:
创建测试环境(例如按照 IP 限制访问权限),从而在网站上线前测试其所有功能。
在网络浏览器中打开新网站,然后检查网站的所有元素:网页、图片、表单及下载内容(例如 PDF 文件)。
您可以为新基础架构设置一个临时主机名(如 beta.example.com)来进行公开测试,以便测试通过浏览器访问网站的可访问性。借助临时主机名,您可以测试 Googlebot 能否访问您的网站。为避免意外地让测试网站编入索引,请将 noindexrobots 规则添加到网页的 HTML 或 HTTP 标头中。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-04。"],[[["\u003cp\u003eChanging hosting infrastructure involves switching providers or moving to a CDN, impacting site performance in Google Search.\u003c/p\u003e\n"],["\u003cp\u003eBefore the move, prepare the new hosting by copying and testing your site, ensuring Googlebot access, and lowering DNS TTL values.\u003c/p\u003e\n"],["\u003cp\u003eInitiate the move by updating DNS settings to point to the new hosting, then monitor traffic on both old and new servers.\u003c/p\u003e\n"],["\u003cp\u003eAfter traffic to the old server ceases, shut down the old hosting to complete the infrastructure change.\u003c/p\u003e\n"],["\u003cp\u003eExpect temporary fluctuations in Googlebot's crawl rate after the move, eventually stabilizing and potentially increasing.\u003c/p\u003e\n"]]],["To change hosting without altering URLs, first, prepare the new infrastructure by uploading and testing a copy of your site. Verify Googlebot's access via Search Console and temporarily lower DNS TTL values. Next, initiate the move by updating DNS settings to point to the new host. Monitor traffic on both old and new servers, using server logs and public DNS checking tools. Remove any crawl blocks. Lastly, shut down the old hosting once traffic completely shifts to the new infrastructure.\n"],null,["Changing your hosting\n\n\nFollow this guide to minimize the impact of changing your site's hosting infrastructure on\nthe site's performance in Google Search. A change in hosting infrastructure means switching\nhosting providers or moving to a content distribution network (CDN). This guide is only for\nmigrations that don't affect the user-visible URL.\n| **Changing the URLs?** If you're making visible URL changes, start with [Site moves with URL changes](/search/docs/crawling-indexing/site-move-with-url-changes).\n\nOverview\n\n1. **[Prepare the new hosting infrastructure](#hosting-infrastructure)**. Upload your content to the new servers or configure your CDN and your origin servers, and test it.\n2. **[Start the site move](#start-site-move)**. Change the DNS settings of your domain name to point to the new hosting infrastructure. This step is the actual site move step that starts the process of sending your traffic to the new infrastructure.\n3. **[Monitor traffic](#monitor)**. Keep tabs on the traffic served by the old and new hosting.\n4. **[Shut down](#shut-down-old-hosting)**. Shut down the old hosting infrastructure when you're confident that all users, including Googlebot, are receiving content correctly from the new infrastructure and no one is using the old infrastructure.\n\nPrepare the new hosting infrastructure\n\nThis section covers steps to take before you start the actual infrastructure move.\n\nCopy and test your new site\n\n\nFirst, upload a copy of your site to your new hosting provider. What a \"copy of your website\"\nmeans depends entirely on your old content management platform; it may be actual HTML files\nthat you replicate on your new hosting platform, or a database export that you have to\nimport in the new location. Once you do that, verify that it works as expected by thoroughly\ntesting all aspects of how your users interact with your site. Here are a few suggestions:\n\n- **Create a testing environment**, perhaps with IP-restricted access, through which you test all of the features before the website goes live.\n- **Open your new site in a web browser** and review all elements of your site: pages, images, forms, and downloads (such as PDF files).\n- **Allow for public testing** with a temporary hostname for your new infrastructure (like `beta.example.com`) so you can test accessibility by browsers. A temporary hostname can help you test whether Googlebot can reach your site or not. To prevent accidentally letting the test site get indexed, add the [`noindex` `robots` rule](/search/docs/crawling-indexing/block-indexing) to the HTML or the HTTP headers of your pages.\n\nCheck that Googlebot is able to access the new hosting infrastructure\n\n\nIf you don't already have a Search Console account,\n[create a new account](https://support.google.com/webmasters/answer/34592)\nfor your site to help you monitor Google access and traffic. If you created a temporary\nhostname for your new site, verify that property as well. Check that Googlebot can access your\nnew infrastructure using the\n[URL Inspection Tool](https://support.google.com/webmasters/answer/9012289)\nin Search Console.\n| **Caution** : Check your firewall configuration or denial of service (DoS) protection. Make sure it does not block Googlebot's ability to reach the DNS or the hosting provider's servers. [Learn how to verify Googlebot](/search/docs/crawling-indexing/verifying-googlebot#use-automatic-solutions).\n\nLower the TTL value for your DNS records\n\n\nYou can help make your site move go faster if you lower your site DNS records' TTL value,\nwhich will allow the new settings to propagate to ISPs faster. DNS settings are usually cached\nby ISPs based on the specified\n[Time to Live (TTL) setting](https://wikipedia.org/wiki/Time_to_live#DNS_records).\nConsider lowering the TTL to a conservative low value (for example, a few hours) at least a\nweek in advance of the move to refresh DNS caches faster.\n\nReview Search Console verification\n\nMake sure your Search Console verification will continue to work after the hosting move.\n\n\nIf you're using the\n[HTML file method](https://support.google.com/webmasters/answer/9008080#html_verification)\nto verify ownership of your site in Search Console, make sure you don't forget to include your\ncurrent verification file in your new copy of the site.\n\n\nLikewise, if you include in your content management system's (CMS) templates a\n[`meta` tag](https://support.google.com/webmasters/answer/9008080#meta_tag_verification)\nor\n[Google Analytics](https://support.google.com/webmasters/answer/9008080#google_analytics_verification)\nto verify ownership, ensure the new CMS copy includes these as well.\n\nStart the move\n\nThe move process is as follows.\n\n1. **Remove any temporary blocks to crawling** . While building the new copy of a site, some site owners use a robots.txt file to disallow all crawling by Googlebot and other crawlers, or use `noindex` `meta` tags or HTTP headers to block indexing of content. Be sure to remove any such blocks from the new copy of the site when you're ready to start the move.\n2. **Update the DNS settings**. You start the move by updating the DNS records to point to the new hosting provider. Check with your DNS provider for how to do that.\n\nMonitor traffic\n\nTo monitor that your infrastructure change is going smoothly:\n\n- **Keep an eye on the server logs on both new and old servers.** \n As DNS setting propagates and the site traffic moves, you'll notice a drop in traffic logged on the old servers and a corresponding increase in traffic on the new servers.\n- **Use different public DNS checking tools.** \n Check that different ISPs around the world are updating to your new DNS settings correctly.\n- **Monitor crawling.** \n Monitor the [Index coverage](https://support.google.com/webmasters/answer/7440203) graphs in Search Console.\n\nA note about Googlebot's crawl rate\n\n\nWhen you change hosting infrastructure, it's normal to see a temporary drop in Googlebot's\ncrawl rate immediately after the launch, followed by a steady increase over the next few\ndays, potentially to rates that may be higher than before the move.\n\n\nThis fluctuation occurs because we determine crawl rate for a site based on many signals, and\nthese signals change when your hosting changes. As long as Googlebot doesn't encounter any\nserious problems or slowdowns when accessing your new serving infrastructure, it will try to\ncrawl your site as fast as necessary and possible.\n\nShut down old hosting\n\n\nCheck the server logs on the old provider and, once the traffic to the old provider reaches\nzero, you can shut down your old hosting infrastructure. This completes the hosting change."]]