Report this

What is the reason for this report?

Have a single public IP and multiple backend private IPs to be able to run multiple sites via a reverse proxy thru nginx to Apache backends?

Posted on December 6, 2017

I currently have multiple;tiple sites/domains being hosted on a couple droplets with separate external IP’s. I would like to consolidate this into one IP so I have one droplet running NGinx reverse proxy to pass requests off to the Apache servers on the backend droplets. Is there a tutorial for this? Is this doable?



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.

no attachment capability here or I would attach the configs that work for this…

Yes, in tomcat server.xml you simply specify separate ports, like 8080, 8082, and 8443. You can even have some https and some http running on the same ip.

Sorry spoke too soon, I do not think this is possible unless you are using the dedicated server option.

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.