IIS 5+ won't respont to "localhost" or 127.0.0.1..

Hello all. I've been working on setting up some software on my IIS machine, and when I type in the FQDN ( ) or the machine name iwcserver, it responds with the root page. But, when I type in localhost or the loopback IP (127.

Windows Networking 2246 This topic was started by ,


data/avatar/default/avatar35.webp

17 Posts
Location -
Joined 2002-11-08
Hello all.
 
I've been working on setting up some software on my IIS machine, and when I type in the FQDN ( www.iwc-solutions.com) or the machine name "iwcserver", it responds with the root page.
 
But, when I type in "localhost" or the loopback IP (127.0.0.1), I get a 404 error.
 
Any HOSTS file I need to edit or some IIS setting I've missed?

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar12.webp

75 Posts
Location -
Joined 2003-05-05
It's possible your web pages are set for the specific IP address associated with that FQDN.
In IIS 4 for example (which I don't have in front of me at this exact moment.. sorry...) I can set a website to respond to a specific IP or Any IP. In the MMC right click on Default Website for example and select properties. In the Web Site tab in the Web Site Identification section you should find an IP assignment option. Make sure it is set to All Unassigned.
 
That should do it.
Keep in mind the instructions I've included here are for IIS 4. Hopefully it hasn't changed much in IIS 5.
 
Hope this helps.

data/avatar/default/avatar19.webp

3857 Posts
Location -
Joined 2000-03-29
Also, if you are using Host Headers, make sure that no other site (started or stopped) is hosting "localhost" or "127.0.0.1" in the name box. You can add those names to the host header options for the site you are setting up, and it should work properly afterward. Once you start using host headers, you pretty much have to stick with it to resolve every possible hostname (NetBIOS, FQDN, or otherwise) in order to get them to work.

data/avatar/default/avatar03.webp

581 Posts
Location -
Joined 2002-04-27
Did you REALLY get a 404?
Or are you being generic?
a 404 means the webserver is responding....... and if it responds it should give you the default document.......
 
So was it a 404, or a nbasic "page cannot be displayed"?