I have apache2 setup with several virtual hosts, but I have it setup so that if you visit the IP address in your browser you get an error 403. When I ping the domain name of one of my virtual hosts, it always just responds with request for timeout, never the latency, why is this?
Share
Perhaps your hosting provider (or your Linux distro) has firewalled
ICMPprotocol which is necessary forpingto work correctly.Note that Apache needs only
TCPto work properly, and does not needICMP, which is completely different protocol. In other words,pingmay be completely firewalled, and yet, your website will respond correctly.Some websites actively firewall
ICMP, most notable example ismicrosoft.com.