Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am setting up a new server, all the IP addresses are assigned to the NIC.

I have setup the first website on the server via IIS 7.5

On my local machine I have setup the host file to direct a url to the new IP address on the new server.

When I setup the bindings for the website to be:

host name: mydomain.com port: 90 IP: the servers IP address

I get a 404 response, there is no logging and it is not the nice blue error page of IIS 7, its the old style plain white 404 with black text:

Not Found

HTTP Error 404. The requested resource is not found.

when I setup the bings as wild card, the site responds fine:

host name: mydomain.com port: 90 IP: *

When the bindings are assigned to an IP I have tried pinging the url and this returns the correct IP.

Any help would be great,


share|improve this question

closed as unclear what you're asking by Tom O'Connor Jan 30 at 10:13

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Anything in the HTTPERR logs? –  Chris McKeown Apr 25 '12 at 11:19
Nothing in the logs, it doesnt seem to make it that far –  JamesStuddart Apr 26 '12 at 8:54

2 Answers 2

The old-style 404 message suggests that IIS is rejecting the request before getting a chance to hand it off to the ASP.NET processes.

This used to happen (i.e. on IIS6) if URLScan filtered the url or if the ASP.NET ISAPI filter was not installed/enabled.

In IIS7(.5) I think the equivalents would be, if the URL Authorisation feature is enabled and is blocking or if the ISAPI/CGI Restrictions screen does not show ASP.NET vYourVersion as Allowed. There may be others.


share|improve this answer

It's possible that in IIS 7.* your bindings are only set for www.mydomain.com but you are trying to get to your site with mydomain.com, which will result in the type of 404 error you are mentioning. If that is the case then just add mydomain.com as an additional binding to the same IP and it will work.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.