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.

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.

×
1 answer

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.

Submit an Answer