Note: How to check http server reachability if you can't resolve DNS name:
Variant number one:
Variant number one:
$ telnet 127.0.0.1 80
GET / HTTP/1.1
host: www.example.com
Variant number two with curl:
$ curl --resolve www.example.com:80:127.0.0.1 http://www.example.com/
Better varian for older curl:
curl -k --verbose --header 'Host: www.example.com' 'https://127.0.0.1:443/'
Even shorter:
curl -kvH 'Host: www.example.com' 'https://127.0.0.1:443/'