Host Header

Hi,

Am i right in thinking you can't use host headers to redirect to a different
directory?

Like this:

website1, 192.168.1.1, port 80, d:\website1
website2, 192.168.1.1, port 80, e:\website2

If not then how would you go about doing this?

Thanks.

Ian.
IJH [ Di, 08 April 2008 11:09 ] [ ID #1938118 ]

RE: Host Header

Thanks everyone - it's ok i've answered my own question.
It works fine, but you must stop and start each website in question after
making the changes.
Restarting the WWW Publishing Service isn't enough!



"IJH" wrote:

> Hi,
>
> Am i right in thinking you can't use host headers to redirect to a different
> directory?
>
> Like this:
>
> website1, 192.168.1.1, port 80, d:\website1
> website2, 192.168.1.1, port 80, e:\website2
>
> If not then how would you go about doing this?
>
> Thanks.
>
> Ian.
IJH [ Di, 08 April 2008 14:32 ] [ ID #1938121 ]

Re: Host Header

What version of IIS are you using? How do make this change?

I would set this up by changing the home directory for each website, and
that does not require a restart (of anything).

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


"IJH" <IJH [at] discussions.microsoft.com> skrev i meddelandet
news:D4AA1A02-8F64-456F-9CE9-AD54A4BD040E [at] microsoft.com...
> Thanks everyone - it's ok i've answered my own question.
> It works fine, but you must stop and start each website in question after
> making the changes.
> Restarting the WWW Publishing Service isn't enough!
>
>
>
> "IJH" wrote:
>
>> Hi,
>>
>> Am i right in thinking you can't use host headers to redirect to a
>> different
>> directory?
>>
>> Like this:
>>
>> website1, 192.168.1.1, port 80, d:\website1
>> website2, 192.168.1.1, port 80, e:\website2
>>
>> If not then how would you go about doing this?
>>
>> Thanks.
>>
>> Ian.
Kristofer Gafvert [ Di, 08 April 2008 17:37 ] [ ID #1938127 ]
Webserver » microsoft.public.inetserver.iis » Host Header

Vorheriges Thema: IIS disappeared in Windows component
Nächstes Thema: Windows 2003 R2