Website Migration: Build a Cutover Plan Before Changing DNS
A website migration succeeds when data, traffic, and business functions arrive together. Copying files to a new server is only one part of that process. Make an inventory List the application, database, uploaded files, email services, DNS records, certificates, background jobs, and external integrations. Identify which services are moving and which remain where they are. Record the existing setup…
A successful website migration hinges on careful planning and execution. Merely copying files to a new server is insufficient; the process encompasses moving data, traffic, and business operations together seamlessly.
Commence by compiling an inventory: enumerate applications, databases, uploaded files, email services, DNS records, certificates, background jobs, and external integrations. Categorize which services will migrate and which will remain stationary. Document the current setup and devise a rollback strategy, identifying who holds the authority to initiate the cutover and the criteria that would warrant reverting to the old system.
Prior to testing the destination environment, create a duplicate of the existing setup in a restricted setting. Inspect runtime versions, extensions, file permissions, redirects, and database connectivity. Ensure test jobs disallow real message sending or live payment processing to avert disrupting genuine operations. Verify the target hostname and HTTPS functionality using a controlled test method, as temporary preview addresses may exhibit different behavior compared to the live domain.
When shifting data, especially for active stores or membership sites, be aware that a copy taken yesterday may be missing today's orders or registrations. Plan for a final synchronization or designated maintenance window to rectify this discrepancy. Avoid permitting two independent servers to accept writes simultaneously without a deliberate synchronization design, as this could lead to conflicts.
Gradually transition traffic by updating DNS records and closely monitor both environments throughout the transition period. Maintain the previous server operational for the designated overlap duration. After the cutover, verify the login, forms, checkout, media, redirects, and background jobs. Validate email functionality independently, as successful website traffic migration does not guarantee proper email delivery.
Outline the final configuration and ownership documentation, then retire the old service only after confirming that migration and retention requirements are met.
Migration procedures vary depending on the application and services in use. For instance, moving a store that accepts orders consistently throughout the day necessitates a deliberate approach. A database copy taken in the morning may not encompass orders placed afterward. If the destination goes live with that copy in the evening, those subsequent records might seem to disappear.
Therefore, the migration plan must include a deliberate solution, such as pausing writes during a final copy or implementing a synchronization process to accommodate later changes. Improvising a database merge during the cutover should be avoided.
Do not overlook uploaded files, as a database record may exist without the corresponding file. Check whether the application stores files locally or in an external service. Prepare a comprehensive migration checklist assigning responsibility for backups, destination setup, application testing, DNS changes, email validation, and rollback decisions.
Document completion timelines and the evidence supporting each task. Keep access available to both providers during the transition, confirming account ownership and renewal dates before making any changes. Losing access to the old environment prematurely can complicate the final synchronization or recovery process.
Record any differences between the old and new environment, including runtime versions, database settings, file paths, cron schedules, and security rules. A successful file transfer does not guarantee that these dependencies match. Observe the overlap period, acknowledging that some requests might reach the previous destination despite the updated DNS records.
Decide how this server should behave and prevent conflicting writes. Monitor error rates, response times, certificate behavior, and application functions post-change. Encourage team members to report specific addresses, times, and symptoms when issues arise, providing more precise information than vague statements about the site feeling different.
Common inquiries include whether the old hosting can be canceled immediately, whether email requires relocation, and whether the destination should adopt newer software. The old hosting should remain accessible during the agreed overlap and recovery period. Email services can remain separate. The destination can utilize newer software, but compatibility testing is essential before combining multiple changes, as this increases uncertainty.
Consult Alif Host resources for platform-specific steps, such as uploading, editing, and managing files via the cPanel File Manager. Review service scope and plan details on Alif Host shared hosting, ensuring the chosen plan meets your platform's requirements.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.