After changing the server IP or connecting to CDN, what sequence should be followed to review resolution, certificate, and collection?
After changing the server IP or accessing CDN, what order should parsing, certificate and inclusion be reviewed? The order is a three-tier progression: first confirm that the domain resolution has pointed to the new entry and is effective throughout the network, then verify that the certificate chain is closed on both sides of the edge and source, and finally converge the actions on the inclusion side - maintaining the continuous 301 redirect mapping, actively pushing key pages to search engines, and checking the source addresses in the crawling logs. The most easily overlooked review is jumping layers: pushing when the resolution is not stable, and the engine wasting the quota by crawling with the old address; when there is a gap in the certificate chain, the crawler's trust in the https pages is also decreasing.
One hour before action: TTL pre-decrement and list
Before changing the IP, at least one day in advance, lower the TTL of the domain name resolution (for example, reduce it to a few minutes), so that the old records expire as soon as possible; it is a normal phenomenon to have both old and new DNS records coexist during the switching window, and do not roll back as soon as you see some users still resolving to the old address.The checklist is ready at this stage: it is necessary to synchronize the modifications to the A record - related to email SPF and reverse resolution, the server addresses in the third-party callback whitelist, and the origin configuration on the CDN side, all follow the IP.If the original server still needs to retain a monitoring period, confirm that the site service on it has stopped writing to avoid dual-active writing.
Switch on the day: Parsing, certificate and three-tier source verification
The resolution layer: multiple regions and operators dig the target domain separately to confirm the return of a new address; when there is a CDN, confirm that the edge node's source pointing is to the new origin server instead of the old IP.Certificate layer: The certificate chain of the new entry must be complete under both browser and command line verification methods - a common pitfall is that only the site certificate is installed without the intermediate certificate, which allows the user's browser to pass, but the scraper and API client report errors.If connected to CDN, both sides should be verified: the edge terminates users with https, whether the source is accessed via http or https, and whether the certificate verifies the source station. An unusual phenomenon occurs when the configuration is inconsistent, such as 'front-end normal, crawler fails'.The application layer: For the site default service port (such as 8001) that has a reverse proxy in front, check that the proxy forwarding rules are consistent with the new upstream address.
Redirect and old address convergence: The mapping of 301 cannot be broken
When changing the entry without changing the URL structure, the ideal state is that the historical address is accessible as before; however, version changes, protocol changes (from http to https), and domain changes often occur in batches with migration, at this point the 301 redirect management is the fuse for inclusion: the mapping from old address to new address is configured item by item, the status code uses 301 instead of temporary redirection, making the weight migration signal clear.The AnQi CMS built-in 301 redirect management is used to set URL redirection,配合pseudo-static rules to maintain a stable address style; it is also necessary to review the robots configuration——if the crawling access rules have fixed directory or parameter patterns, the change in the log format of new entries may cause it to mistakenly harm.
Collection side action: Active push and log collection
After the entry is stable, catch up with the rhythm on the engine side: actively push core pages and recent update pages to Baidu and Bing using link push management to accelerate re-crawling; keep Sitemap automatically generated and confirm that the submission address has not changed. After one to two weeks, check two sets of data: whether the source IP and request path in the crawling log are normal, whether there are concentrated errors, and whether the inclusion and crawling statistics on the site master platform have returned to baseline. If the crawling volume does not recover for a long time, prioritize checking the certificate chain and robots instead of emphasizing the site map urgently.
Common questions
Ask: If only CDN is connected without changing the origin server IP, do you still need to go through the whole set?Answer: Only one item, 'CNAME pointing to CDN', remains in the resolution layer, but the certificate side verification and origin protocol confirmation cannot be omitted. On the collection side, log re-validation is performed according to the new entry.
Ask: Will the active push be considered an exception by the engine due to IP change?Answer: Pushing is authenticated by domain name, not by server IP; as long as the API call quota and domain ownership are normal, the push can be continued as usual after switching.
Ask: How do you know that the crawler has reached the new entry?Answer: Compare the access records of search engine crawlers in the web logs before and after the switch, the source address segment plus request time is more timely than the data on the site owner's platform.