Himanshu Page asked:
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
- I can access it through the public dns url http://ec2-184-73-195-180.compute-1.amazonaws.com
- 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
220.127.116.11 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
for httpd . Is this accurate ? Should it be
0:0:0:80? or does it not matter?
The problem is you have set the wrong IP address in the DNS.
error@underground ~ $ host www.doccaster.com www.doccaster.com has address 18.104.22.168 error@underground ~ $ host doccaster.com doccaster.com has address 22.214.171.124
Once you fix this, you should find things start working.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.