Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Apache2 web server with vhosts at, listening on port 80 & 443. One vhost I'm trying to access is

I can ping the IP of the server:

~: ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=63 time=0.466 ms
64 bytes from icmp_seq=2 ttl=63 time=0.555 ms
64 bytes from icmp_seq=3 ttl=63 time=0.717 ms
64 bytes from icmp_seq=4 ttl=63 time=0.445 ms
--- ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2998ms
rtt min/avg/max/mdev = 0.445/0.545/0.717/0.110 ms

And I can dig the domain name (resolves correctly -- correct DNS):

~: dig

; <<>> DiG 9.4.2-P2.1 <<>>
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19685
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 10

;          IN  A

;; ANSWER SECTION:       769 IN  A

;; AUTHORITY SECTION:       85729   IN  NS       85729   IN  NS       85729   IN  NS       85729   IN  NS       85729   IN  NS

;; ADDITIONAL SECTION:   408 IN  A   408 IN  AAAA    2600:2001::76   51707   IN  A   51707   IN  AAAA    2600:2002::76   49856   IN  A   49856   IN  AAAA    2600:2003::76   50206   IN  A   50196   IN  AAAA    2600:2004::76   49118   IN  A   49118   IN  AAAA    2600:2005::76

;; Query time: 1 msec
;; WHEN: Fri Jul 15 22:18:19 2011
;; MSG SIZE  rcvd: 368

But I cannot ping the domain name, nor does the browser take me to the homepage when I visit the domain:

~: ping
PING ( 56(84) bytes of data.
--- ping statistics ---
12 packets transmitted, 0 received, 100% packet loss, time 11004ms

It's not a local hosts issue, since I have tried pinging from several separate machines on different networks.

I'm disinclined to believe it's an Apache2 issue (since wouldn't it still respond to a ping, just not display the page??), but I'm happy to post whatever config files you might think relevant to the solution. Help!!

UPDATE: The real domain name is, and the real IP is

share|improve this question
Why are you using sudo in the first ping (by IP address), and not in the second (by name)? – mcmeel Jul 16 '11 at 2:33
Aph, forgot to edit that out... on one server, I get funky a funky permission denied error if I try to run ping without sudo, but on all the other servers I tested this on, it wasn't an issue. – neezer Jul 16 '11 at 2:41
chmod a+s /bin/ping will fix that permissions problem. – womble Jul 16 '11 at 3:01
You're probably going to have to give the real domain name, because there isn't enough information in your question to give anything more than a wild guess as to the actual cause. We can investigate a real DNS entry and work out what's going on. – womble Jul 16 '11 at 3:02
@womble - Ahh, ok. Updating with the real domain name & IP... – neezer Jul 16 '11 at 3:14
up vote 3 down vote accepted
$ dig
;; ANSWER SECTION:           1440    IN      A

"and the real IP is"

/me sings "One of these things, is not like the other..."

share|improve this answer
The real IP in your question is now I'm still singing... – womble Jul 16 '11 at 3:39
Well hooray! Yes, I typed in the wrong IP in my DNS hosting... I really shouldn't be setting up servers on 3 hours of sleep in the past two days... thanks for your patience! – neezer Jul 16 '11 at 3:41

; <<>> DiG 9.6.0-APPLE-P2 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28062
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;          IN  A

;; ANSWER SECTION:       1236    IN  A

;; Query time: 22 msec
;; WHEN: Fri Jul 15 23:23:30 2011
;; MSG SIZE  rcvd: 46

Your External IP doesn't match what you mentioned. Neither or replies to ping (nor does Also, trying to browse to any of those using http: or https: fails. I think you have other issues.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.