Migrate Wordpress from localhost to virtual host on DigitalOcean

Hi there. I have a Wordpress site with a MySQL database on XAMPP on Mac OS X. I need to migrate it to my droplet on DigitalOcean.

I already have a live domain (URL) on my DigitalOcean droplet. So I’ll need to set-up a virtual host in Apache to install the WordPress site.

I found various recipes on the internet to do this, but many have different instructions.

So, please point me to step-by-step instructions on how to do this on my DigitalOcean droplet (Ubuntu).


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.

Thanks for the suggestions. Unfortunately, the first link you offered has no text in it.

Read this on how to move Wordpress from one server to another

Read this on how to setup Wordpress on DigitalOcean Ubuntu