Hi!
I've accidentally removed "default web site" from "web sites" folder, in
Internet Information Service.
Now I cannot access to any site from the server when I use
localhost, 127.0.0.1, or the static IP.
It returns the message: "Bad Request (Invalid Hostname)".

How can I solve this problem?
Thanks in advance.

Regards,
Nicola

Re: Bad Request (Invalid Hostname) by David

David
Wed Sep 21 06:51:15 CDT 2005

You probably have no website defined to answer to the specific host you are
requesting (such as 127.0.0.1 or IP), thus "Bad Request (Invalid Hostname)"
is by-design.

In other words, re-create the default web site that you accidentally
removed, and things should work again.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Naighes" <Naighes@discussions.microsoft.com> wrote in message
news:14BCBFB3-464C-4EF5-959A-435475540879@microsoft.com...
Hi!
I've accidentally removed "default web site" from "web sites" folder, in
Internet Information Service.
Now I cannot access to any site from the server when I use
localhost, 127.0.0.1, or the static IP.
It returns the message: "Bad Request (Invalid Hostname)".

How can I solve this problem?
Thanks in advance.

Regards,
Nicola



Re: Bad Request (Invalid Hostname) by Naighes

Naighes
Wed Sep 21 07:51:04 CDT 2005

Thanks David, I got it solved yesterday, re-creating the Default Web Site,
just like you suggest me.
Thank again.

Nicola


"David Wang [Msft]" wrote:

> You probably have no website defined to answer to the specific host you are
> requesting (such as 127.0.0.1 or IP), thus "Bad Request (Invalid Hostname)"
> is by-design.
>
> In other words, re-create the default web site that you accidentally
> removed, and things should work again.
>
> --
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no rights.
> //
> "Naighes" <Naighes@discussions.microsoft.com> wrote in message
> news:14BCBFB3-464C-4EF5-959A-435475540879@microsoft.com...
> Hi!
> I've accidentally removed "default web site" from "web sites" folder, in
> Internet Information Service.
> Now I cannot access to any site from the server when I use
> localhost, 127.0.0.1, or the static IP.
> It returns the message: "Bad Request (Invalid Hostname)".
>
> How can I solve this problem?
> Thanks in advance.
>
> Regards,
> Nicola
>
>
>