wordpress and node.js app setup on same droplet

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.

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.

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.