Argo wrote:
In your network settings did you define a default gateway?
Ummm... I don't think so. When I look at my Network Connection Details I see this:
IP Address: 192.168.1.100
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
DHCP Server: 192.168.1.1
DNS Servers: 64.59.176.13 & 64.59.176.15
WINS Server is blank
192.168.1.1 is my router's IP address, which is connected to my cable modem. In my
Internet Protocol (TCP/IP) Properties settings I have it set to automatically obtain the IP address and the DNS servers from DHCP (which would be my router in this case). So that all seems fine, right?
Did you change any of your network setting or physical network layout?
Nope, I don't think so.
Do you have other computer on a network? If so can they access that computer by name?
Yes, I do actually, and both computers can access each other by name without problem. And just for fun, I tried to access the apache server on mike-xp from my other XP machine (which has a similar hosts file) using
http://mike-xp, and it worked! However,
http://mike-xp still gives me the Bad Gateway when I do it on my (mike-xp) machine.
So it really does seem like my hosts file is being ignored!
In your httpd.conf, what do you have for servername?
ServerName mike-xp:80
But I don't think apache has anything to do with it, and in fact, the real reason I'm even looking into this is because I noticed that ads on websites are no longer being blocked by my hosts file. For example, the line
127.0.0.1 ad.doubleclick.net is entered in my hosts file, yet all ads from that server show up consistantly. At first I thought it was a cache problem, but I flushed them several times now.
The only thing I can think of is that I used one of those "registry cleaner" tools, and it's possibly it accidently removed something from my registry that it shouldn't have. Of course, I have no idea if that's really the cause or not... :-(
- Mike