Here me out.
I know that port forwarding is only something you can do on a router, and all EC2's come with a public IP automatically, but I am running a web app that runs on port 8080 on my EC2 server (running Amazon Linux). It has apache installed and if you go to the IP address, it shows the index.html
file in /var/www/html/
. I would instead like for this IP to go to port 8080 without having to manually specify 123.123.123.123:8080
. Is this possible to do with an Elastic IP? Additionally, I want to use Route53 to provision a human-readable dns name. My ideal scenario would be that someone types in "dumb-website-idea.com", and gets redirected to 123.123.123.123:8080
. What is the easiest way to do this?
Thank you.