How to Migrate WordPress to Vultr

Updated on June 27, 2022
How to Migrate WordPress to Vultr header image

Introduction

This guide explains how to migrate your WordPress server to Vultr. This process requires a maintenance window when the site will be offline. We have an expanded guide with a few more steps if your site must remain 100% available during the upgrade.

1. Backup the Old Server

Please do not skip this step when migrating your server to Vultr. Make sure you have a backup of the source server before proceeding. Make a complete server image backup if possible, or use a backup plugin for WordPress such as Updraft or Jetpack.

2. Export the Content

All-in-One WP Migration is a popular plugin for relocating WordPress sites. The free version is enough for most websites, and several professional upgrades are available with advanced features.

  1. Log in to the old WordPress dashboard with an administrator account.

  2. Navigate to Plugins > Add New.

  3. Enter All-in-One WP Migration in the Search plugins... field at the upper-right of the page. Locate this plugin in the list.

    All-in-One

  4. Click Install Now.

  5. After installation completes, click Activate. A new menu, All-in-One WP Migration, appears in the WordPress dashboard.

  6. Navigate to All-in-One WP Migration -> Export.

  7. Click Export To > File to export the entire site, including themes and plugins.

    ExportFile

  8. A download prompt appears after the backup completes. Click the green download button.

    Download

  9. Save the export file to your computer.

  10. Shut down (but do not destroy) the old server. Your site is offline during the next few steps.

3. Deploy the New Server

Deploy a new Marketplace WordPress server.

4. Update DNS

Update your DNS with the address of the new Marketplace WordPress app. Follow the instructions from your DNS host, or use this guide for Vultr DNS.

5. Import the Site Content

  1. Locate the username and password in Step 1 of the Application Information on your server's information screen at my.vultr.com.

  2. Navigate to the administration area of the new server by domain name with HTTPS. For example:

     https://www.example.com/wp-admin
  3. Enter your username and password.

    ServerLogin.png

    Note: This login protects the admin area with extra security before entering your WordPress Administrator account information. If you want to remove this additional security layer, follow the instructions in the **"Remove wp-admin Security" section of the Marketplace WordPress documentation.

  4. Run the WordPress installation wizard. Select your language and click Continue.

    SelectLanguage.png

  5. Enter your site title, username, and email address. This information isn't critical because it is overwritten when you restore the old server data. Make a note of the password because you need it to log in the first time.

    WordPressInstallStep2.png

  6. Click Install WordPress. Wait for WordPress to finish the installation, then log in to your WordPress dashboard.

  7. Navigate to Plugins > Add New.

  8. Enter All-in-One WP Migration in the Search plugins... field at the upper-right of the page. Locate the same plugin used on the old server.

  9. Click Install Now.

  10. After installation completes, click Activate. A new menu, All-in-One WP Migration, appears in the WordPress dashboard.

  11. Navigate to All-in-One WP Migration -> Import.

  12. Click Import From > File.

    Import

  13. Select your export file.

  14. After the file upload completes, click Proceed on the import confirmation.

    proceed

  15. Click Save permalinks structure on the success confirmation.

    Success

  16. A new browser tab opens. Log in with the username and password of the old WordPress server.

  17. Review the permalink structure. Verify the permalink structure matches the old site, change it if needed, and save.

  18. Return to the import tab.

  19. Click the Finish button.

  20. Log out of the new website.

6. Install SSL Certificate

If you use a free Let's Encrypt certificate, connect to your server console or via SSH. Use the root login from the Server Information screen. Install the SSL certificate with certbot. Replace the domain name and email with your values.

    # certbot --nginx --redirect -d www.example.com -m admin@example.com --agree-tos --no-eff-email 

If you use a commercial certificate, replace the server.crt and server.key files in /etc/nginx/ssl/ with your commercial certificate. Refer to your certificate vendor's documentation for details.

Cleanup Steps

After you've tested your site on the new server, it's safe to destroy your old server.