IIS Server - Direct requests to specific website

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > June 2005 > Direct requests to specific website





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Direct requests to specific website
RichardF

2005-06-29, 2:48 am

If I have two websites installed under IIS can I configure IIS to
detect a specific URL and direct the user to a specific site?

e.g. I have two web sites installed as...

c:\inetpub\wwwroot\website1
c:\inetpub\wwwroot\website2

And I have two domains...

www.numberone.com
www.numbertwo.com

both domains are configured in DNS to go to my IIS machine.

How can I detect a request to www.numberone.com and direct the
requests to website1 etc.

Thanks for any help.

RichardF
Ken Schaefer

2005-06-29, 2:48 am

Add an appropriate host-header to one (or both) sites.

Cheers
Ken

--
IIS Blog: www.adopenstatic.com/cs/blogs/ken/
Web: www.adopenstatic.com


"RichardF" <noone@nowhere.com> wrote in message
news:9a74c1tpr4quqtql5v9ikqeqgt9no8jnkp@
4ax.com...
: If I have two websites installed under IIS can I configure IIS to
: detect a specific URL and direct the user to a specific site?
:
: e.g. I have two web sites installed as...
:
: c:\inetpub\wwwroot\website1
: c:\inetpub\wwwroot\website2
:
: And I have two domains...
:
: www.numberone.com
: www.numbertwo.com
:
: both domains are configured in DNS to go to my IIS machine.
:
: How can I detect a request to www.numberone.com and direct the
: requests to website1 etc.
:
: Thanks for any help.
:
: RichardF


Kristofer Gafvert [MVP]

2005-06-29, 2:48 am

Are you using a server edition? If so, create two websites and distinguish
them with host headers. Also see:

"HOW TO: Use Host Header Names to Configure Multiple Web Sites in Internet
Information Services 6.0"
http://support.microsoft.com/?id=324287

If you are using Windows XP, then you are out of luck. It does not support
multiple websites.

--
Regards,
Kristofer Gafvert (IIS MVP)
www.gafvert.info - My Articles and help
www.ilopia.com


RichardF wrote:

> If I have two websites installed under IIS can I configure IIS to
> detect a specific URL and direct the user to a specific site?
>
> e.g. I have two web sites installed as...
>
> c:\inetpub\wwwroot\website1
> c:\inetpub\wwwroot\website2
>
> And I have two domains...
>
> www.numberone.com
> www.numbertwo.com
>
> both domains are configured in DNS to go to my IIS machine.
>
> How can I detect a request to www.numberone.com and direct the
> requests to website1 etc.
>
> Thanks for any help.
>
> RichardF

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com