All inbound port 80 traffic through a NAT router is sent to a private IP
on a machine with IIS6. I can then use host-header discrimination to
send requests to (let's say) any one of four sites on that server.

But is it possible to host two of those four sites on another IIS6
server? That is, if the first server is 192.168.0.10 (forwarded all
port 80 traffic from the router) and the second is 192.168.0.11, I'd
like IIS on .10 to direct host-header-a and host-header-b traffic to
sites hosted on .10 and host-header-c and host-header-d traffic to sites
hosted on .11.

I don't want to use non-standard ports for these sites so that's not an
option. Can I get close?

Michael Roper

Re: multiple websites, multiple servers, and nat by jeff

jeff
Fri May 27 22:18:03 CDT 2005

On Fri, 27 May 2005 19:48:52 -0700, Michael Roper
<michaelr@encraft.com> wrote:

>All inbound port 80 traffic through a NAT router is sent to a private IP
>on a machine with IIS6. I can then use host-header discrimination to
>send requests to (let's say) any one of four sites on that server.
>
>But is it possible to host two of those four sites on another IIS6
>server? That is, if the first server is 192.168.0.10 (forwarded all
>port 80 traffic from the router) and the second is 192.168.0.11, I'd
>like IIS on .10 to direct host-header-a and host-header-b traffic to
>sites hosted on .10 and host-header-c and host-header-d traffic to sites
>hosted on .11.
>
>I don't want to use non-standard ports for these sites so that's not an
>option. Can I get close?

Not with IIS. What you want is a a reverse proxy. ISA server (a
different product) can likely help.

Jeff

Re: multiple websites, multiple servers, and nat by Michael

Michael
Fri May 27 22:22:06 CDT 2005

Jeff Cochran wrote:
>>But is it possible to host two of those four sites on another IIS6
>>server? That is, if the first server is 192.168.0.10 (forwarded all
>>port 80 traffic from the router) and the second is 192.168.0.11, I'd
>>like IIS on .10 to direct host-header-a and host-header-b traffic to
>>sites hosted on .10 and host-header-c and host-header-d traffic to sites
>>hosted on .11.
>
> Not with IIS. What you want is a a reverse proxy. ISA server (a
> different product) can likely help.

Thanks Jeff. So much for easy!

Michael Roper

Re: multiple websites, multiple servers, and nat by Kristofer

Kristofer
Sat May 28 05:11:42 CDT 2005

Hi Michael,

In addition to Jeff's response, you might also find this article
interesting:

http://www.gafvert.info/notes/OneIPMultipleWebservers.htm

The conclusion is pretty much the same as Jeff's suggestion - A reverse
proxy. But multiple external IPs may also work (and sometimes that is the
only solution depending on the complexity of the websites, SSL for
example).

Good Luck!

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


Michael Roper wrote:

> All inbound port 80 traffic through a NAT router is sent to a private IP
on a machine with IIS6. I can then use host-header discrimination to send
requests to (let's say) any one of four sites on that server.
>
> But is it possible to host two of those four sites on another IIS6
server? That is, if the first server is 192.168.0.10 (forwarded all port
80 traffic from the router) and the second is 192.168.0.11, I'd like IIS
on .10 to direct host-header-a and host-header-b traffic to sites hosted
on .10 and host-header-c and host-header-d traffic to sites hosted on .11.
>
> I don't want to use non-standard ports for these sites so that's not an
option. Can I get close?
>
> Michael Roper

RE: multiple websites, multiple servers, and nat by AlokKumar

AlokKumar
Sat May 28 12:01:01 CDT 2005

you can use multiple IP address in the same adapter or use Apache as reverse
proxy which is free.

Alok

"Michael Roper" wrote:

> All inbound port 80 traffic through a NAT router is sent to a private IP
> on a machine with IIS6. I can then use host-header discrimination to
> send requests to (let's say) any one of four sites on that server.
>
> But is it possible to host two of those four sites on another IIS6
> server? That is, if the first server is 192.168.0.10 (forwarded all
> port 80 traffic from the router) and the second is 192.168.0.11, I'd
> like IIS on .10 to direct host-header-a and host-header-b traffic to
> sites hosted on .10 and host-header-c and host-header-d traffic to sites
> hosted on .11.
>
> I don't want to use non-standard ports for these sites so that's not an
> option. Can I get close?
>
> Michael Roper
>