Apache localhost sites opening in Firefox but not IE or Safari?
I am running WAMP on Vista and have Apache virtual hosts and my host files that allow me to test sites locally using an address like this:
http: //testsitex.localhost: 8080
The only problem is that it only works in Firefox. IE and Safari (currently the only other browsers I've tried and the ones I'm most worried about) are displaying an error.
I'm not in front of my car right now, but the error is something like:
502 Bad Gateway DNS host lookup problem
Can anyone tell me what's going on?
I would try changing it from testsitex.localhost to testsite.loc and see if you have the same problem. Alternatively, try pinging from the command line and see if you see the same problem.
Another thing might be that Firefox ignores the Windows proxy, whereas IE and Safari are probably using the default Windows proxy (settings -> control panel -> internet -> connections -> lan settings). If your proxy doesn't have a hosts file, that explains it.
source to share