Easily configure a performant, secure, and stable NGINX server.Learn More
Solution for static page hosting and MERN App
I’m just getting started on DigitalOcean and I’m lookin for a setup which is some sort of multi-purpose. Right now I need to host two small HTML sites under different domain names. As for now I think this would be a easy task with Nginx Server Blocks. But then I’d also like to deploy a MERN (mongoDB is external) App for which I have been using Heroku. For that alone I was going to use Dokku.
Now what are my best options if I’d like to host all of these three, and further down the road maybe even more, on a single Droplet? Any advice here?
Thanks a lot in advance!
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.×