Question

Migrating a WordPress site

Does anyone have advice for the best way to migrate a WordPress site from a 10yr old D.O. server slice (with Centos OS, and 10 yr old version of WP) to a new server slice using Ubuntu 20.04? Thanks, Jon


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

https://www.digitalocean.com/community/tutorial_series/how-to-migrate-to-a-new-linux-server

In general, you’ll need to spin up a Droplet matching your current configuration like PHP version, WebService (Nginx/Apache) and configure it for a Wordpress website. Then you can transfer the files and DB over and then the DNS.

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

https://wordpress.org/plugins/all-in-one-wp-migration/

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!