By blink7821
I made a single Game for two platforms one for pc and another for android, so i want to host my two games in one droplet, is it possibe? (windows user)
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!
You’re going to face a few challenges if you try to simply run a second node app and host it on your server. Btw, this has very little to do with Digital Ocean, if at all.
The biggest challenge you’ll face is that you can’t have both apps listening on port 80, only one app wins. So unless you want users to see a different port number as part of the URL (I doubt that’s the case), you’ll need to look at setting up a reverse proxy of some kind. This can be achieved with Apache or nginx for example. This way both domains can point to the same public IP, both node apps can listen on different ports, and the reverse proxy takes care of routing requests to each one based on the hostname requested.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.