Report this

What is the reason for this report?

wordpress and node.js app setup on same droplet

Posted on June 16, 2017

Trying to figure out root and host name set-up for our project. Right now the app resolves to domainname and then it has pages like domainname/create. We want to add a wordpress site so that domain name resolves to that and then have the pages the app creates make domainname/create, domainname/manage. Can both be root and run on different ports? If so what are the network setup controls we need to set for this. Or are we best moving the app to domainname/app/ and having pages like domainname/app/create

Also what are the best practices for having wordpress and node.js share a droplet. Should we have a second one for the website?

Obviously a bit of a newbie at setting up more advanced dns records.



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!

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.

Hi @joshd1f1370e840ea51b0774e5

Are you using Nginx or Apache to reverse proxy to Node.js? As long as you have enough resources (RAM+CPU), then you can host both on the same droplet.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.