What items need to be checked when switching hosts on the day of switching, and parsing, certificates, and email cannot be missed.

📅 2026-11-01 👁️ 0

What items need to be verified on the day of the host switch, how should the DNS, certificate, and email be checked? Verify in the order of the access chain, not by checking each item on the background function table: First, confirm that the domain name resolution really points to the new host, then confirm that the certificate on the new address is complete and available, then verify whether the page can render normally (whether the pseudo-static address matches the rules), and whether the old address is permanently redirected to the new address. Finally, verify the write side - whether form submissions, comments, and interface calls can be stored in the database. The DNS, certificate, and email items are most often overlooked because they are not in the site program, but at the boundary between the host and the domain.

Before the switch: Arrange the backup and parsing validity period first

Two things must be completed before the switch, and it can't be done on the day of the switch.

The first thing is a complete backup. Backup and recovery support data along with static files for backup and recovery, the migration scenario must include attachments and generated files, and only backing up the database will leave the missing half of the image in the recovery state. The third-party migration list is consistent on this point: backups must be done, and two copies must be done.

The second is to lower the expiration time of the resolution record. The conventional suggestion is to reduce the TTL to 300 seconds 24 to 48 hours before the switch, so that the residual time of the old records during the switch is minimized; if it is changed on the day of the switch, the uncached visitors will still be sent to the old host, looking like a 'switch failure'.

The third step is to pull up the new environment in advance according to the deployment method. For sites deployed using Docker images, you can run the same image on the new host and mount the data volume back; for sites deployed using Baota panel or aaPanel with one-click deployment, you also need to check if the running directory, listening port, and rewrite module are equivalent. The deployment method is different, and the items to be verified on the day have not changed, but the location where problems usually occur is usually in this layer of difference.

Switching day: verify each item according to the access chain

Verification items How to verify Common failure symptoms
Domain resolution Multiple queries confirm that the new IP is pointed to Part of the regions are still resolved to the old host
SSL Certificate Access the new domain directly and check the certificate chain and validity period The certificate is only valid for the old address, the browser warns
Page rendering Visit the homepage, list page, and detail page once each Error on the detail page or dropped to the error page
Static address Check if several standard addresses can be hit The rules have not been migrated, all go through dynamic parameters
Old address redirection Visit the historical address to confirm permanent redirection Only jump to the homepage or return to a temporary redirection
Write the chain Submit the form, leave a message, comment and check the entry Readable but not writable, the interface returns an exception
Email identity Send a test email and check the sending identity record Email goes to the spam box or fails to send

This item of the certificate needs to be emphasized separately: The certificate on the new host is not only about whether it is installed, but also whether the certificate chain is complete, whether it covers both www and non-www writing. When the chain is missing, the desktop browser may be normal, but the mobile端 and interface client will report an error directly.

The verification order of static rules and 301 redirects

The most common hidden failure in host migration is not the loss of content, but the lagging behind of address rules. The rule definitions in the static rule management should be migrated with the site, otherwise the same page can be accessed through both standard addresses and parameter addresses, and the search end will see two copies. The check order is: first, check whether the rules on the new host are effective, and then see if the addresses generated by the site match the actual accessible addresses.

If the address format is changed during migration, you should set up a 301 redirect on the old address side. The writing style suggestion for the third-party list is the same: use permanent redirect, do not use temporary redirect - a temporary state that does not withdraw for a long time will allow the new and old address systems to coexist. Similarly, do not cancel the old host account on the same day, the conventional practice is to keep it for at least one week after switching, to accommodate visitors who still have cached resolution, and also as a rollback point.

One week after switching: old account and log observation

This week, look at three things: availability records, server logs, and traffic distribution. Check for intermittent failures in availability; look at where abnormal status codes are concentrated in what kind of addresses; and see if there is still a significant proportion of requests hitting old hosts - if there are, it indicates residual parsing or external links still pointing to old addresses.

Email is a typical item that does not show any problems on the same day but explodes after a week. Records related to identity (SPF, DKIM, DMARC) are often overlooked during host migration because they are in domain resolution rather than site background. The way to verify is not to see if there is any configuration, but to actually send an email and check the delivery results and identity verification.

Acceptance list

One, the resolution has been fully directed to the new host, and the review is consistent across multiple regions. Two, the new address certificate and certificate chain are complete, and both domain name formats can be accessed. Three, the pseudo-static rules are in effect, and the standard address is consistent with the actual address. Four, the old address is permanently redirected to the new page. Five, forms, messages, comments, and interface writes are all stored normally. Six, emails can be delivered normally, and the sender identity verification has passed. Seven, the old host account has been retained for more than one week, and the rollback path has been tested once.

Common questions

Can we change the resolution and backup first on the day of the switch?It is not recommended. The backup must be completed before the switch, and if there is no available restore point when an exception occurs after the switch, rollback will become reconstruction.

What should you do if the old content is displayed on the page during verification?First, distinguish between parsing leftovers and uncached cache. Multiple queries to confirm the parsing direction, then clear the page cache, the handling location of the two things is different.

Is there any risk in canceling the old host account in advance?Yes. Leftover parsing and external links will still send requests to the old address, and if it is disabled in advance, it will become inaccessible directly, and also lose the rollback point.

Should you care if you don't change the email service provider?To. Even if the email service does not change, the identity record and resolution on the domain side are still affected by the host migration, and it is still necessary to send a verification once in actuality.

Related articles

Static files and dynamic pages are deployed together, where should the cache be placed?

Cache is divided into three layers according to resource type: static products such as images and attachments are placed in the outer layer, and page content such as list pages and detail pages are placed in the middle layer and can be set with a shorter expiration period, and back-end and interface caching is not performed. The purpose of layering is to make the source only happen in the truly real-time part, and the page loading speed is improved accordingly, while the immediate visibility of back-end changes will not be blocked by caching.

2026-11-01

How should batch 301 redirects be arranged during the domain name and version update, and how long will it take for old links to recover from dropping收录

The batch 301 redirect for domain change or version update should first lock the new address structure, and then follow the mapping rules of 'priority for isomorphic migration, followed by structural changes, and merging and deleting as a last resort.' The recovery pace depends on whether the crawling and active push keep up: if the list is still the old address, the recovery will be significantly prolonged. Handle the four lines of site map, pseudo-static rules, old links in the text, and push together, which is usually counted by week rather than by day.

2026-11-01

Is the slow page loading the fault of the CMS? Let's first look at the two clues of memory and staticization.

How to segmentally locate the slow page load: the handling methods of the three chains of network and resources, query and connection, and template rendering are completely different. Before monitoring data is available, it is worth prioritizing two clues: whether the resident memory triggers page switching and cache failure, and whether the front-end has truly taken the static path. This article provides the order of segmental troubleshooting, the basis for judgment, and in what cases the problem is indeed in the system kernel rather than the configuration.

2026-11-01

What is the default database used by lightweight CMS, SQLite or MySQL, and where are the differences in operations?

The lightweight website system uses a single-file embedded library as the default option to allow the site to run directly after placing it in a directory; switching to an external database service brings concurrent writing and multi-end connections, at the cost of an additional process, account, and backup link. This article uses the third-party system criteria from the day to explain the specific differences in installation dependencies, backup recovery, concurrency, and migration between the two forms, as well as at what scale this choice begins to affect operations.

2026-11-01

How to coordinate the scheduling of content in holidays, scheduled publishing, and pending publishing status

When scheduling holidays in advance, the scheduled release solves the timing point, and the draft status to be released solves the review progress. AnQiCMS divides documents into four states: formal, draft, scheduled release, and recycling bin. The draft link with preview parameters can be reviewed before release, and deletion is moved to the recycling bin instead of physical deletion. There is a fallback path if scheduling fails.

2026-11-01

Batch migrating old website articles, is it more stable to import using a compressed package or a table?

The old site articles are moved in bulk, the choice between ZIP compressed package import and Excel table import depends on whether there are attachments and field structure: The migration of image static files and graphics goes through the compressed package, while batch creation of articles goes through field mapping. AnQiCMS also provides the import/archive import interface, which supports querying whether the title already exists, and can be checked before repeated import.

2026-11-01

Migrating from a hosting website building platform to a self-built content system, how to arrange the migration sequence to avoid losing indexing

Migrating in a fixed sequence ensures not losing indexing: First export the content list and make a complete backup, then use ZIP compression packages or Excel spreadsheets to batch import content. When importing, check for duplicate titles to avoid repeated搬运, and finally, set up 301 redirect mappings for old addresses and observe for two weeks. This article provides the key operational points and verification methods for each step, covering the backup scope of data and static files and the usage standards of the import interface.

2026-11-01

When replacing the content in bulk on the entire site, which fields need to be backed up before they are changed?

Before using the bulk replacement function to change content on the entire site, it is recommended to back up three types of objects: document data (including static files), template files, and navigation and watermark configurations. Keywords and links in the text can be covered by the recycle bin and piece-by-piece rollback, but once configuration items such as navigation, watermark, and template are overwritten, there is no ready-made recovery entry. Take a snapshot before replacement and confirm the correct scope after replacement with front-end inspection.

2026-11-01