Multiple domains on different ports of the same droplet.
I’m running different apps on different ports of my droplet. Everything works fine, but I have to specify the ports explicitly in order to visit the website. How can I make a specific domain point to a specific port?
Apps developed in Python 2.7, using Flask.
Deployed on CherryPy server. Right now, there are 2 instances of CherryPy, each running different app on different ports (one, the default 80, and another on 8080).
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.