How to migrate wordpress website from shared hosting to LEMP droplet on Ubuntu 20.04

Connected Tutorial
This question is a follow-up to this tutorial:

Not a single tutorial available on

  1. Migration of a wordpress website from shared hosting to LEMP stack droplet on Ubuntu 20.04.

while existing on DO explain how to create / configure LEMP stack on Ubuntu 20.04 but no article correctly explains the process to manually upload wordpress file and data backup into a new wordpress installation in LEMP stack droplet.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

We have a series of tutorials that cover the process of migrating from one Linux server to another which you can check here:

In general, depending on your site/application you will need to spin up a droplet that matches your current hosting provider environment or at least is suitable for your app/site needs (e.g running the same PHP version). Then you need to migrate your data (files, users, database and etc).

Another option is to use the All-in-One WP Migration plugin. The plugin can handle the migration process on your behalf.

This article also covers the process, although it is outdated:

The final step will be to test everything and make sure it is working fine and then switch the DNS settings and push your site live from DigitalOcean.

Hope that this helps! Regards, Alex

This comment has been deleted