Move a site to another server
Copy a site and its database to another of your servers, test it there, then switch.
Your current site stays as it is while you move it. ServerNest never changes your DNS: you point your domain at the new server yourself, when you're ready.
Before you start
- Moving a site comes with the Pro and Unlimited plans. On other plans the menu item shows a lock.
- Owners and admins can move apps.
- Both servers must be in the same organization and connected. The new server needs a public address (not only behind a home or office router) and room for the files and database, plus 512 MB.
- It works for running PHP apps.
1. Test
- Open the app and choose Move to another server (under More).
- Pick the Destination server and the App name on the destination. If no app has that name there, ServerNest creates one with the same domain.
- Choose what to copy: Files, a Database, or both.
- Choose what happens if something already exists there: keep it and only add what's missing (the default), or overwrite it.
- Click Run test. It checks that the two servers can talk and that there is room. Nothing is copied.
2. Copy
When the badge says Test passed, enter your password (and your two-step code if you use one) and click Start the move. A test is good for one hour. To overwrite, you also type the app name.
ServerNest copies the files and the database. It leaves out temporary files, sessions, logs and caches. It puts the new database password into wp-config.php or .env on the new server. If it can't, the page tells you to set it on the new app's Database tab.
The app runs on the new server's PHP version. If that's different, the log says so: test the site carefully.
3. Check the new site
Before you switch, look at the copy. The page can make a private preview link with its own password, if preview links are available for your account. If not, it explains how to open the new server from your own computer with your hosts file.
4. Switch over
- Click Switch over and confirm with your password. The old site shows a short "back in a few minutes" page, and the database is copied one last time, so no new orders or comments are lost.
- Change your domain's A or AAAA record (and
www, if you use it) to the new server's address. The page shows the record to set. - Click Check DNS to see when the change is live.
Changed your mind? Undo the switch takes the old site out of maintenance. Point your DNS back yourself. Anything written on the new server after the switch stays there.
The old app stays on its server until you remove it. ServerNest doesn't delete it for you.
Not copied
The move copies files and one database. Set these up again on the new app: HTTPS (see domains and HTTPS), cron jobs and workers, PHP settings, Redis, and backups.
Not available yet
- Moving a WordPress site.
- Moving an app set up by a one-click install.
- Apps that deploy from Git: disconnect the repository first, move the app, then connect it again on the new server.
- Moving to a new domain, and importing a site from another host.
Related: move a PHP website by hand, staging copies, back up and restore. Which plans include this: pricing.