Ads

Tuesday, 25 November 2014

AWS Public DNS doesn't work. Can't connect to my website

I can't seem to connect to my apache AWS server (ec2-50-16-134-40.compute-1.amazonaws.com) from my browser. When I am ssh-ed into the server, "GET ec2-50-16-134-40.compute-1.amazonaws.com" seems to work (I get my page). I also cannot ping my server from my laptop. The DNS resolves to an IP, but no response is sent (idk if that is normal). I have search lots and finally I found some solution for the run public DNS in browser


Here is some steps I have taken to resolve the, I was gone in the security group and set the security group like as below


Type
Protocol
Port range
Source
SSH
TCP
22
0.0.0.0/0
HTTP
TCP
80
0.0.0.0/0
Custom TCP Rule
TCP
9001
0.0.0.0/0
Custom TCP Rule
TCP
9000
0.0.0.0/0
Custom TCP Rule
TCP
5439
0.0.0.0/0
Custom TCP Rule
TCP
50000 - 50100
0.0.0.0/0
All ICMP
All
N/A
0.0.0.0/0