Issue
I'm trying to point my domain to my EC2 instance but it isn't working because my EC2 needs the port (:3000) at the end of the IP in order to be resolved. I'm having a really difficult time finding information on this, any help would be appreciated!
Solution
You can set up an internet facing load balancer to redirect the port 80 from public access to your ec2 instance with any port.
internet users -> hit your new created load balancer with port 80 or 443 -> set redirection rules to backend (ec2:port)
There are several types of aws loadbalancer, you can start with Elastic load balancer
if you want to save the cost, you can install nginx
or haproxy
on your ec2 instances to expose the port 80 directly.
Answered By - BMW Answer Checked By - Marie Seifert (WPSolving Admin)