logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: localhost works in Firefox but not IE or Safari
Author
khamiltoe



Joined: 03 May 2009
Posts: 1
Location: Victoria

PostPosted: Sun 03 May '09 17:55    Post subject: localhost works in Firefox but not IE or Safari Reply with quote

I have WAMP (Vista) set up on my local machine for testing websites while in development. I've set up virtual hosts in my apache config and put the host names in the hosts file.

I can access my sites using a url like this:
http://testsite.localhost:8080/

Only problem is that it only works in Firefox.

In IE or Safari I get this error:

Bad Gateway
The following error occurred:
[code=DNS_HOST_NOT_FOUND] The host name was not found during the DNS lookup. Contact your system administrator if the problem is not found by retrying the URL.

Can anyone tell me what's going on here? Why would it work in Firefox, but not IE or Safari? Any help would be greatly appreciated.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Mon 04 May '09 2:31    Post subject: Reply with quote

Is testsite.localhost in your windows hosts file?
Back to top


Reply to topic   Topic: localhost works in Firefox but not IE or Safari View previous topic :: View next topic
Post new topic   Forum Index -> Apache