Link to home
Start Free TrialLog in
Avatar of tarbault
tarbault

asked on

IIS fresh install = Bad Request (Invalid Hostname)

Hello,

I have a fresh install of IIS 6 over a win2003 SP1 server. I try to run a web site, and the only answer I get is "Bad Request (Invalid Hostname)" The server is a secondary server inside the local network, planned for hosting an intranet.
I'm not used to "first steps" config with IIS 6, having been on IIS 5 until today.
The website is configured to answer on its IP (10.0.0.4) on port 80. No hostnames have been set (should they have been ?).

In IIS manager if I try to browse, I get the same thing.
Same result on the server itself with http://localhost/

The very strangest: I had it working yesterday (dont't know why, though) but this morning, after SP1 and reboot, the problem is back.

What's worse, I'm riddled also by KB916595 (server blue screen and reboot when modifing IIS parameters, apparently)
There is a fix... but on patching, it gives an error about updatebr.inf not being valid... congratulatiosn MS...

Thanks !!!
Avatar of dnojcd
dnojcd
Flag of United States of America image

make sure that your server`s port 80 is open

have you tried by browsing htp://10.0.04 ? and check for the directory security under  IIS settings.
giving host headers is not essential if you plan to access the site using the ipaddress

This tutorial covers the basic steps
http://www.simongibson.com/intranet/iis6/

check this article for firewall configuration also
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/f493ef15-df44-4493-83cd-20ccb2580c13.mspx?mfr=true
Yes,I have faced same problem on our server.After install SP1 I got Bad Reguest error on site.To resolve my problem,I uninstalled SP1 and reboot the server.After uninstall SP1,all sites worked fine.

Try to uninstall SP1.

Warm Regards,

Vipin Gupta

Avatar of tarbault
tarbault

ASKER

>make sure that your server`s port 80 is open
it is : the server answers hte request, but the answer is not what I expect ;-)

>have you tried by browsing htp://10.0.04 ?
yes: same error.
>and check for the directory security under  IIS settings.
Well... did that too.
>giving host headers is not essential if you plan to access the site using the ipaddress
Later I plant tu use ISA to route requests to this server so I'll have to use them eventually

>Try to uninstall SP1.
Thanks, but the problem was there BEFORE SP1, and is still there after so it's not related.
ASKER CERTIFIED SOLUTION
Avatar of dnojcd
dnojcd
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the help dnojcd !
The problem was not there in fact but was another consequence of the BSOD and KB916595.
When I solved that, the pages started to work allright.

in a few words: there is an incompatibility between Win2003 and the nvidia forceware utilities package (the one that installs the network manager and the firewall). Of course I had not activated the firewall feature but apparently, something else is wrong with the package.
I had a hint (as usual) as to where the problem was when I went down in the eventlog and saw that the bug involved a nvidia dll.

Since I have uninstalled the forceware package, no BSOD/reboot, and no web access problem either.
Thanks anyway for the help: its always nice to have people to exchange with on a problem, helps thinking around !
Bye