I just set up an Python app on an EC2 Ubuntu server. I can go to www.mydomain.com:6332 to view the app but I'd like it to be at www.mydomain.com (without port 6332).
How could I achieve this?
I just set up an Python app on an EC2 Ubuntu server. I can go to www.mydomain.com:6332 to view the app but I'd like it to be at www.mydomain.com (without port 6332).
How could I achieve this?
This can be done in various ways:
iptables -t nat -A PREROUTING -p tcp --dport 80 --redirect --to-ports 6332
)