Hello all. I’m new to Digital Ocean. I am trying to deploy my React APP in my server alongside with an WordPress Installation.
My APP is working fine at this moment but my current Wordpress installation is on another server and I want to migrate it to my digital ocean droplet.
Any hints or tutorials?
Best Regards
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hi,
You can add an additional server block/virtual host to your web server to serve your Wordpress app separately. What you would need to do is transfer all of the files to your React Droplet, migrate the database over, and set up the virtual host. Here are some tutorials that can help:
If you are running nginx, how to set up server blocks: https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04
or virtual hosts if you are running Apache: https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04
Migrating MySQL databases between servers: https://www.digitalocean.com/community/tutorials/how-to-migrate-a-mysql-database-between-two-servers