How do you migrate Magento 2 to new hosting?

1 minute, 17 seconds

How do you migrate Magento 2 to new hosting?

A Magento 2 migration starts with a working copy of the store. After testing purchases, payments and integrations, schedule the final synchronization and DNS change.

Prepare the copy and environment

Record the Magento, PHP, database and search versions. Identify where media lives, how integrations work and which tasks run in the background. Build a compatible target before importing data and transferring files. Adobe Commerce system requirements.

Restrict access to staging and use test credentials where available. Point email, webhooks and ERP connections at test systems or pause them. This lets you run checkout without sending customer emails or creating production records.

Test purchasing before the switch

Verify sign-in, search, cart and order placement. Confirm shipping charges, payment status updates and callbacks from the processor. Check cron, queues, stock data and product images. Record results and identify who approves the switch.

Complete synchronization and change DNS

Agree on a maintenance window and how writes to the source store will be limited. Sync changes since the first copy and run a quick test on the target. Watch both environments after the DNS change. During propagation, requests may still reach the old server, so keep only one environment open for new orders.

Decide when to roll back. If the new environment has already accepted orders, preserve those transactions and agree how to reconcile and move order and payment data before switching the address again.

Check the live store

Monitor application errors, email delivery and integrations through the first orders. Repeat the checks from the migration window. Magento server setup and migration.

Choose your language

English (UK) Store in English Français Deutsch Español Italiano Português Nederlands Svenska Store in English Dansk Store in English Norsk Store in English Suomi Store in English Lietuvių Store in English Latviešu Store in English Eesti Store in English Čeština Store in English Slovenčina Store in English Magyar Store in English Română Български Store in English Ελληνικά Store in English Slovenščina Store in English Hrvatski Store in English Polski English (US)