webamazon-ec2hostingec2-api-tools

How to allow web hosting in EC2 with Linux AMI (port 80 rule added)


I've added rules for port 80 for http and even 443 for https but the url returns this site can't be reached. Do I need to configure the firewall somehow?

Also for url I used the public DNS address, I also tried the domain returned by host [public ip] command. Both didn't allow access.

Any help will be greatly appreciated, thanks!


Solution

  • Make sure to add http rule in the default group in security group.