WordPress site migrationis copying the files and database to a new server, then pointing the domain to the new server. The copy job usually takes less than an hour. Downtime and data loss often arise from forgotten details: DNS time, email records, SSL certificate, and orders in transit. The checklist below collects these details in three stages.

Before moving

  1. Reduce the TTL value in the domain's DNS records to 300 seconds and wait at least 24 hours.
  2. Note all existing DNS records: A, CNAME, MX, TXT (SPF, DKIM, verification records).
  3. Check that the new server's PHP version and required PHP plugins are compatible with the old one.
  4. Take a full backup of the files and database and store the backup outside of hosting.
  5. If the email service is on old hosting, plan how to move mailboxes.

During transport

The files are copied to the new server, the database is imported, and wp-config.php is updated with the new database information. If the domain name does not change, no address change is required in the database. To test the new server without changing DNS, add a temporary line to your computer's hosts file:

# Windows: C:\Windows\System32\drivers\etc\hosts
# macOS ve Linux: /etc/hosts
203.0.113.25   alanadiniz.com www.alanadiniz.com

This line directs the domain name on your computer only to the IP address of the new server. Thus, while visitors see the old site, you can browse and test the site on the new server. Don't forget to delete the line when the test is finished.

Prepare the SSL certificate on the new server before the DNS change. Some hosting companies can only generate the certificate after the domain name is forwarded to them; In this case, place the crossing at the time when traffic is lowest.

After moving

ControlWhy is it important?
Are the home page and inner pages opened?Permalink and .htaccess issues appear here
Are the contact form and email sending working?SMTP settings may be required on new server
Do the payment and order steps work?Virtual POS IP restrictions and return addresses may change
Is the SSL lock visible?Certificate and mixed content control
Are scheduled tasks running?Backup, newsletter and stock sync depends on cron
Is there a crawl error in Search Console?Interruption or routing problem appears early

For email problems WordPress e-mail is not sent If there is a database connection error in our guide, database connection error See our article.

Preventing order loss on e-commerce sites

Orders received in stores between transportation and DNS transit are written to the old server. In order to prevent these orders from being lost, it is necessary to put the store in short-term maintenance mode just before the transition or to separately transfer new orders on the old server after the transition. Some of the virtual POS providers in Türkiye apply permission listing to the server IP address; Notifying the IP address of the new server to the bank or payment institution in advance prevents payment interruptions.

First week after moving

For the first week after the move, do not turn off the old hosting and monitor the logs of both servers together. If there are still visitors to the old server, DNS propagation is not completed or a record points to the old IP address. Measure the page speed on the new server and compare it with the old values; The goal of transport is usually speed or stability, and this needs to be verified by measurement. If no problem is observed, a final backup is taken and the old account is closed. This last backup is the only source to be used in the future when a file or email from the old server is needed; so it should be stored in a repository outside of hosting.

Common mistakes

  • Changing DNS without reducing TTL: Some visitors see the old server for hours.
  • Forgetting MX records: Emails won't arrive after migration.
  • Turning off old hosting immediately: It should not be closed before the migration is completed and the final backup is taken.

For uninterrupted and data loss-free migration of your site WordPress technical support You can create a transportation request on our page.

Will the site go down during migration?

If planned correctly it won't close. After the new server is prepared and tested, DNS is replaced; The old server remains up for the duration of the propagation.

How long does it take to change DNS?

It depends on the TTL value. Lowering the TTL the day before the migration allows the migration to propagate within minutes.

Will my emails be migrated?

If the email service is on hosting, it must be migrated separately. MX records and mailboxes should be part of the plan.