Question

How to migrate wordpress on nginx

Hello,

For 4 days now i ahve been trying to migrate my wordpress blog from a shared hosting to DO .

I want my wordpress to be on Nginx but i have been stuck. all the tutorials does not work for me.

Please help… Thanks in advance

Show comments

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.

Hello there,

We do have an article that covers the process, although it is with deprecated status, however, you can check it here:

https://www.digitalocean.com/community/tutorials/how-to-migrate-wordpress-from-shared-hosting-to-a-cloud-server-with-zero-downtime

You can use the WP All in One plugin or Duplicator to migrate all of your WordPress websites.

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

https://wordpress.org/plugins/duplicator/

If you have to move some of the data manually you can do that via ssh using scp or rsync. Another option is to use an FTP client like FileZilla

https://www.digitalocean.com/community/tutorials/how-to-copy-files-with-rsync-over-ssh

https://docs.digitalocean.com/products/droplets/how-to/transfer-files/

Hope that this helps!

First i have created a directory healthable and moved my backup there and extracted it but then i can’t edit the wp-config as it will prompt me to create a new file with that name.

My database has been imported yet i can get it to work with the database user i created early.

I followed this tutorials http://www.doitscared.com/2068/install-ubuntu-lemp-wordpress-unmanaged-vps/

http://bivori.com/migration-form-bluehost-to-digitalocean/

http://www.wpmayor.com/ultimate-guide-setting-wordpress-vps-part-2/