Can’t access EC2 hosted website
For some reason, I am unable to access our website www.doccaster.com (Bad request nginx). We are hosted on amazon EC2 with elastic ip associated to it. The weird part is
a) I can access it through the public dns url http://ec2-184-73-195-180.compute-1.amazonaws.com
b) My co founder who is located in another city can access it via www.doccaster.com.
I observed that my instance was failing reachability check, so I launched a new one and assigned it the the elastic ip. I tried to ping the ip address 18.104.22.168 from my machine but no success. Any help will be really appreciated.
More details I ran the following command on my server
netstat -lntp | grep -E 'apache|httpd' and it displays
:::80 for httpd . Is this accurate ? Should it be 0:0:0:80 ? or doesnt matter?