1
I installed Apache 2 on my Windows 7 box last week and all seemed to run fine. I had an issue where 'localhost' took a long time to load, but actually typing in the IP 127.0.0.1 in the address bar of my browser loaded my local websites instantly. I googled it and the solution was to comment out the IPv6 setting in the windows hosts file. Now typing 'localhost' in the address bar loads my local sites instantly.
I just added some virtual hosts in the httpd.conf file (and also to the windows hosts file) and now the virtual hosts take 4+ seconds to load. I opended the Net tab in firebug to see what part of the request was taking so long, and it shows 4.04 seconds to do the DNS lookup... I have googled and googled it and I am not sure what to do.
are the vhost domains at the top of your hosts file? have you changed the listener or anything else related to ports? – davidosomething – 2010-06-27T01:50:33.100