Question

Copying Wordpress to a new droplet

I currently have a test droplet where I installed LEMP + Wordpress.org to build a website. My domain name is also pointing to this droplet. I also have other test projects on this droplet.

Once I get the Wordpress website working correctly I would like to setup a dedicated droplet for it. I plan to install the Wordpress marketplace app on this new droplet and I see that there are detailed instructions on pointing my domain to it and getting the HTTPS certificate.

Once I setup the new droplet how do I copy my Wordpress site to it? There was a question on this forum from 2014 about that but the details are unclear to me. The person posting the question said that they created an image and then created a new droplet from that image. But I’m not sure if that will apply in my case because I just want to copy the WP site and content to the new droplet, not the entire droplet.

Thanks


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.

Just an update that I ended up creating a new droplet, installing 1-click Wordpress, and creating a new website instead of copying over the old website via a migration plugin. It was not so complicated nor had been developed so much that I needed to do that.

Hi Alex, great, thanks for the detailed advice. I will take a look. I appreciate it.

Hi, @prask5

You can either spin up a WordPress droplet from our marketplace or configure/install a Linux, Nginx, MySQL, PHP (LEMP stack) droplet manually and then just copy the content of your site using ssh or SFTP.

The process is simple you need to copy the files and the database over to the new server. As mentioned you can do that via ssh using scp or rsync or use a SFTP client like FileZilla in order to move the files to the new droplet.

You can also use the All-In-One-WordPress Migration plugin for migrating your entire WordPress site and database. This plugin exports your WordPress website including the database, media files, plugins and themes with no technical knowledge required. Upload your site to a different location with a drag and drop in to WordPress. There is an option to apply an unlimited number of find and replace operations on your database during the export process. The plugin will also fix any serialisation problems that occur during the find/replace operation.

You can find more information here: https://wordpress.org/plugins/all-in-one-wp-migration/

Hope that helps!

Regards, Alex