Hey,

I have several websites running on IIS 6.0 and have decided to convert the
setup over to use multiple IP addresses for several of the sites. I added the
IPs in the tcp/ip properties of the nic on the server, and selected the IP
from the dropdown list in IIS manager. I also have setup the appropriate host
headers.

The problem I'm having is that when I go to view the websites, it returns
the default IIS page. Is there some extra DNS, firewall or NAT stuff I have
to take care of in order to get this working?

To give an example:

I have the domain mydomain.ca. My server name is SERVER1, the FQDN of the
server is SERVER1.mydomain.ca. I want to have several different web sites
with this domain, all with different IP addresses (team.mydomain.ca,
xyz.mydomain.ca) for SSL purposes.

I have the default page running on 192.168.0.1, www.mydomain.ca running on
192.168.0.5 and team.mydomain.ca running on 192.168.0.6. From the server, if
I go to 192.168.0.5 or 192.168.0.6 it returns the appropriate page. From an
external computer, if i attempt to access any of these pages it returns the
default web page. If i turn off the default page, it returns a 400 error.

I have tried using the iplisten command of httpcfg that was described by
someone with a similar issue, but to no avail. If I run any of the other
pages off 192.168.0.1 it works appropriately.

If it's a DNS issue, I don't understand how I would be able to direct www
and team records to go to 192.168.05 or 192.168.0.6. As far as my firewall
(Firebox x500) is concerned - it routes port 80 traffic to 192.168.0.1.

Does anyone have any suggestions about what I am doing wrong?

Re: Problems with Multiple Websites using Multiple IP Addresses by Ben

Ben
Mon Nov 22 16:42:08 CST 2004

What you should instead do is use host headers. Search on google for
multihomed IIS.

All those DNS records are probably getting mapped to a single public IP,
which means all traffic for all those domains ends up going to 192.168.0.1.
So on those webs in IIS you should add another entry for the server bindings
("Advanced" button by IP Address in Web Site tab).

For the "team" website, add 192.168.0.1 as the IP, 80 as the port, and
team.mydomain.ca as the host header.

For the "www" website, add 192.168.0.1 as the IP, 80 as the port, and
www.mydomain.ca as the host header.



--
Ben Strackany
www.developmentnow.com

<a href="http://www.developmentnow.com">dn</a>


"aharris23" <aharris23@discussions.microsoft.com> wrote in message
news:AD7C6862-B2DC-4FCB-9B5A-B7EFB8111466@microsoft.com...
> Hey,
>
> I have several websites running on IIS 6.0 and have decided to convert the
> setup over to use multiple IP addresses for several of the sites. I added
the
> IPs in the tcp/ip properties of the nic on the server, and selected the IP
> from the dropdown list in IIS manager. I also have setup the appropriate
host
> headers.
>
> The problem I'm having is that when I go to view the websites, it returns
> the default IIS page. Is there some extra DNS, firewall or NAT stuff I
have
> to take care of in order to get this working?
>
> To give an example:
>
> I have the domain mydomain.ca. My server name is SERVER1, the FQDN of the
> server is SERVER1.mydomain.ca. I want to have several different web sites
> with this domain, all with different IP addresses (team.mydomain.ca,
> xyz.mydomain.ca) for SSL purposes.
>
> I have the default page running on 192.168.0.1, www.mydomain.ca running on
> 192.168.0.5 and team.mydomain.ca running on 192.168.0.6. From the server,
if
> I go to 192.168.0.5 or 192.168.0.6 it returns the appropriate page. From
an
> external computer, if i attempt to access any of these pages it returns
the
> default web page. If i turn off the default page, it returns a 400 error.
>
> I have tried using the iplisten command of httpcfg that was described by
> someone with a similar issue, but to no avail. If I run any of the other
> pages off 192.168.0.1 it works appropriately.
>
> If it's a DNS issue, I don't understand how I would be able to direct www
> and team records to go to 192.168.05 or 192.168.0.6. As far as my firewall
> (Firebox x500) is concerned - it routes port 80 traffic to 192.168.0.1.
>
> Does anyone have any suggestions about what I am doing wrong?



Re: Problems with Multiple Websites using Multiple IP Addresses by aharris23

aharris23
Mon Nov 22 21:12:24 CST 2004

Heres the issue:

I have my default IIS website running Outlook Web Access - 192.168.0.1 SSL
443. I also have windows sharepoint services on two separate web sites that I
also would like secured with SSL.

How do I go about securing all of them with SSL and host headers? I'd have
to use different SSL ports? That's not ideal, as I would have to open more
ports on my firewall and it might become confusing.


"Ben Strackany" wrote:

> What you should instead do is use host headers. Search on google for
> multihomed IIS.
>
> All those DNS records are probably getting mapped to a single public IP,
> which means all traffic for all those domains ends up going to 192.168.0.1.
> So on those webs in IIS you should add another entry for the server bindings
> ("Advanced" button by IP Address in Web Site tab).
>
> For the "team" website, add 192.168.0.1 as the IP, 80 as the port, and
> team.mydomain.ca as the host header.
>
> For the "www" website, add 192.168.0.1 as the IP, 80 as the port, and
> www.mydomain.ca as the host header.
>
>
>
> --
> Ben Strackany
> www.developmentnow.com
>
> <a href="http://www.developmentnow.com">dn</a>
>
>
> "aharris23" <aharris23@discussions.microsoft.com> wrote in message
> news:AD7C6862-B2DC-4FCB-9B5A-B7EFB8111466@microsoft.com...
> > Hey,
> >
> > I have several websites running on IIS 6.0 and have decided to convert the
> > setup over to use multiple IP addresses for several of the sites. I added
> the
> > IPs in the tcp/ip properties of the nic on the server, and selected the IP
> > from the dropdown list in IIS manager. I also have setup the appropriate
> host
> > headers.
> >
> > The problem I'm having is that when I go to view the websites, it returns
> > the default IIS page. Is there some extra DNS, firewall or NAT stuff I
> have
> > to take care of in order to get this working?
> >
> > To give an example:
> >
> > I have the domain mydomain.ca. My server name is SERVER1, the FQDN of the
> > server is SERVER1.mydomain.ca. I want to have several different web sites
> > with this domain, all with different IP addresses (team.mydomain.ca,
> > xyz.mydomain.ca) for SSL purposes.
> >
> > I have the default page running on 192.168.0.1, www.mydomain.ca running on
> > 192.168.0.5 and team.mydomain.ca running on 192.168.0.6. From the server,
> if
> > I go to 192.168.0.5 or 192.168.0.6 it returns the appropriate page. From
> an
> > external computer, if i attempt to access any of these pages it returns
> the
> > default web page. If i turn off the default page, it returns a 400 error.
> >
> > I have tried using the iplisten command of httpcfg that was described by
> > someone with a similar issue, but to no avail. If I run any of the other
> > pages off 192.168.0.1 it works appropriately.
> >
> > If it's a DNS issue, I don't understand how I would be able to direct www
> > and team records to go to 192.168.05 or 192.168.0.6. As far as my firewall
> > (Firebox x500) is concerned - it routes port 80 traffic to 192.168.0.1.
> >
> > Does anyone have any suggestions about what I am doing wrong?
>
>
>

Re: Problems with Multiple Websites using Multiple IP Addresses by jeff

jeff
Tue Nov 23 06:00:59 CST 2004

On Mon, 22 Nov 2004 19:12:24 -0800, aharris23
<aharris23@discussions.microsoft.com> wrote:

>Heres the issue:
>
>I have my default IIS website running Outlook Web Access - 192.168.0.1 SSL
>443. I also have windows sharepoint services on two separate web sites that I
>also would like secured with SSL.
>
>How do I go about securing all of them with SSL and host headers? I'd have
>to use different SSL ports? That's not ideal, as I would have to open more
>ports on my firewall and it might become confusing.

SSL doesn't do host headers. Separate ports or separate IP addresses
for each site.

Jeff

>
>"Ben Strackany" wrote:
>
>> What you should instead do is use host headers. Search on google for
>> multihomed IIS.
>>
>> All those DNS records are probably getting mapped to a single public IP,
>> which means all traffic for all those domains ends up going to 192.168.0.1.
>> So on those webs in IIS you should add another entry for the server bindings
>> ("Advanced" button by IP Address in Web Site tab).
>>
>> For the "team" website, add 192.168.0.1 as the IP, 80 as the port, and
>> team.mydomain.ca as the host header.
>>
>> For the "www" website, add 192.168.0.1 as the IP, 80 as the port, and
>> www.mydomain.ca as the host header.
>>
>>
>>
>> --
>> Ben Strackany
>> www.developmentnow.com
>>
>> <a href="http://www.developmentnow.com">dn</a>
>>
>>
>> "aharris23" <aharris23@discussions.microsoft.com> wrote in message
>> news:AD7C6862-B2DC-4FCB-9B5A-B7EFB8111466@microsoft.com...
>> > Hey,
>> >
>> > I have several websites running on IIS 6.0 and have decided to convert the
>> > setup over to use multiple IP addresses for several of the sites. I added
>> the
>> > IPs in the tcp/ip properties of the nic on the server, and selected the IP
>> > from the dropdown list in IIS manager. I also have setup the appropriate
>> host
>> > headers.
>> >
>> > The problem I'm having is that when I go to view the websites, it returns
>> > the default IIS page. Is there some extra DNS, firewall or NAT stuff I
>> have
>> > to take care of in order to get this working?
>> >
>> > To give an example:
>> >
>> > I have the domain mydomain.ca. My server name is SERVER1, the FQDN of the
>> > server is SERVER1.mydomain.ca. I want to have several different web sites
>> > with this domain, all with different IP addresses (team.mydomain.ca,
>> > xyz.mydomain.ca) for SSL purposes.
>> >
>> > I have the default page running on 192.168.0.1, www.mydomain.ca running on
>> > 192.168.0.5 and team.mydomain.ca running on 192.168.0.6. From the server,
>> if
>> > I go to 192.168.0.5 or 192.168.0.6 it returns the appropriate page. From
>> an
>> > external computer, if i attempt to access any of these pages it returns
>> the
>> > default web page. If i turn off the default page, it returns a 400 error.
>> >
>> > I have tried using the iplisten command of httpcfg that was described by
>> > someone with a similar issue, but to no avail. If I run any of the other
>> > pages off 192.168.0.1 it works appropriately.
>> >
>> > If it's a DNS issue, I don't understand how I would be able to direct www
>> > and team records to go to 192.168.05 or 192.168.0.6. As far as my firewall
>> > (Firebox x500) is concerned - it routes port 80 traffic to 192.168.0.1.
>> >
>> > Does anyone have any suggestions about what I am doing wrong?
>>
>>
>>


Re: Problems with Multiple Websites using Multiple IP Addresses by aharris23

aharris23
Tue Nov 23 07:49:21 CST 2004

I realize this - which was my original issue. Do I need a separate external
public ip, or can assign multiple private IPs on my internal network (inside
my firewall) and host them on multiple IPs that way?

Thanks again for your reply Jeff



"Jeff Cochran" wrote:

> On Mon, 22 Nov 2004 19:12:24 -0800, aharris23
> <aharris23@discussions.microsoft.com> wrote:
>
> >Heres the issue:
> >
> >I have my default IIS website running Outlook Web Access - 192.168.0.1 SSL
> >443. I also have windows sharepoint services on two separate web sites that I
> >also would like secured with SSL.
> >
> >How do I go about securing all of them with SSL and host headers? I'd have
> >to use different SSL ports? That's not ideal, as I would have to open more
> >ports on my firewall and it might become confusing.
>
> SSL doesn't do host headers. Separate ports or separate IP addresses
> for each site.
>
> Jeff
>
> >
> >"Ben Strackany" wrote:
> >
> >> What you should instead do is use host headers. Search on google for
> >> multihomed IIS.
> >>
> >> All those DNS records are probably getting mapped to a single public IP,
> >> which means all traffic for all those domains ends up going to 192.168.0.1.
> >> So on those webs in IIS you should add another entry for the server bindings
> >> ("Advanced" button by IP Address in Web Site tab).
> >>
> >> For the "team" website, add 192.168.0.1 as the IP, 80 as the port, and
> >> team.mydomain.ca as the host header.
> >>
> >> For the "www" website, add 192.168.0.1 as the IP, 80 as the port, and
> >> www.mydomain.ca as the host header.
> >>
> >>
> >>
> >> --
> >> Ben Strackany
> >> www.developmentnow.com
> >>
> >> <a href="http://www.developmentnow.com">dn</a>
> >>
> >>
> >> "aharris23" <aharris23@discussions.microsoft.com> wrote in message
> >> news:AD7C6862-B2DC-4FCB-9B5A-B7EFB8111466@microsoft.com...
> >> > Hey,
> >> >
> >> > I have several websites running on IIS 6.0 and have decided to convert the
> >> > setup over to use multiple IP addresses for several of the sites. I added
> >> the
> >> > IPs in the tcp/ip properties of the nic on the server, and selected the IP
> >> > from the dropdown list in IIS manager. I also have setup the appropriate
> >> host
> >> > headers.
> >> >
> >> > The problem I'm having is that when I go to view the websites, it returns
> >> > the default IIS page. Is there some extra DNS, firewall or NAT stuff I
> >> have
> >> > to take care of in order to get this working?
> >> >
> >> > To give an example:
> >> >
> >> > I have the domain mydomain.ca. My server name is SERVER1, the FQDN of the
> >> > server is SERVER1.mydomain.ca. I want to have several different web sites
> >> > with this domain, all with different IP addresses (team.mydomain.ca,
> >> > xyz.mydomain.ca) for SSL purposes.
> >> >
> >> > I have the default page running on 192.168.0.1, www.mydomain.ca running on
> >> > 192.168.0.5 and team.mydomain.ca running on 192.168.0.6. From the server,
> >> if
> >> > I go to 192.168.0.5 or 192.168.0.6 it returns the appropriate page. From
> >> an
> >> > external computer, if i attempt to access any of these pages it returns
> >> the
> >> > default web page. If i turn off the default page, it returns a 400 error.
> >> >
> >> > I have tried using the iplisten command of httpcfg that was described by
> >> > someone with a similar issue, but to no avail. If I run any of the other
> >> > pages off 192.168.0.1 it works appropriately.
> >> >
> >> > If it's a DNS issue, I don't understand how I would be able to direct www
> >> > and team records to go to 192.168.05 or 192.168.0.6. As far as my firewall
> >> > (Firebox x500) is concerned - it routes port 80 traffic to 192.168.0.1.
> >> >
> >> > Does anyone have any suggestions about what I am doing wrong?
> >>
> >>
> >>
>
>

Re: Problems with Multiple Websites using Multiple IP Addresses by jeff

jeff
Tue Nov 23 16:07:56 CST 2004

On Tue, 23 Nov 2004 05:49:21 -0800, aharris23
<aharris23@discussions.microsoft.com> wrote:

>I realize this - which was my original issue. Do I need a separate external
>public ip, or can assign multiple private IPs on my internal network (inside
>my firewall) and host them on multiple IPs that way?

Your IIS server won't care, but you can't get to multiple internal
IP's by forwarding a single external IP. :)

Jeff

>Thanks again for your reply Jeff
>
>
>
>"Jeff Cochran" wrote:
>
>> On Mon, 22 Nov 2004 19:12:24 -0800, aharris23
>> <aharris23@discussions.microsoft.com> wrote:
>>
>> >Heres the issue:
>> >
>> >I have my default IIS website running Outlook Web Access - 192.168.0.1 SSL
>> >443. I also have windows sharepoint services on two separate web sites that I
>> >also would like secured with SSL.
>> >
>> >How do I go about securing all of them with SSL and host headers? I'd have
>> >to use different SSL ports? That's not ideal, as I would have to open more
>> >ports on my firewall and it might become confusing.
>>
>> SSL doesn't do host headers. Separate ports or separate IP addresses
>> for each site.
>>
>> Jeff
>>
>> >
>> >"Ben Strackany" wrote:
>> >
>> >> What you should instead do is use host headers. Search on google for
>> >> multihomed IIS.
>> >>
>> >> All those DNS records are probably getting mapped to a single public IP,
>> >> which means all traffic for all those domains ends up going to 192.168.0.1.
>> >> So on those webs in IIS you should add another entry for the server bindings
>> >> ("Advanced" button by IP Address in Web Site tab).
>> >>
>> >> For the "team" website, add 192.168.0.1 as the IP, 80 as the port, and
>> >> team.mydomain.ca as the host header.
>> >>
>> >> For the "www" website, add 192.168.0.1 as the IP, 80 as the port, and
>> >> www.mydomain.ca as the host header.
>> >>
>> >>
>> >>
>> >> --
>> >> Ben Strackany
>> >> www.developmentnow.com
>> >>
>> >> <a href="http://www.developmentnow.com">dn</a>
>> >>
>> >>
>> >> "aharris23" <aharris23@discussions.microsoft.com> wrote in message
>> >> news:AD7C6862-B2DC-4FCB-9B5A-B7EFB8111466@microsoft.com...
>> >> > Hey,
>> >> >
>> >> > I have several websites running on IIS 6.0 and have decided to convert the
>> >> > setup over to use multiple IP addresses for several of the sites. I added
>> >> the
>> >> > IPs in the tcp/ip properties of the nic on the server, and selected the IP
>> >> > from the dropdown list in IIS manager. I also have setup the appropriate
>> >> host
>> >> > headers.
>> >> >
>> >> > The problem I'm having is that when I go to view the websites, it returns
>> >> > the default IIS page. Is there some extra DNS, firewall or NAT stuff I
>> >> have
>> >> > to take care of in order to get this working?
>> >> >
>> >> > To give an example:
>> >> >
>> >> > I have the domain mydomain.ca. My server name is SERVER1, the FQDN of the
>> >> > server is SERVER1.mydomain.ca. I want to have several different web sites
>> >> > with this domain, all with different IP addresses (team.mydomain.ca,
>> >> > xyz.mydomain.ca) for SSL purposes.
>> >> >
>> >> > I have the default page running on 192.168.0.1, www.mydomain.ca running on
>> >> > 192.168.0.5 and team.mydomain.ca running on 192.168.0.6. From the server,
>> >> if
>> >> > I go to 192.168.0.5 or 192.168.0.6 it returns the appropriate page. From
>> >> an
>> >> > external computer, if i attempt to access any of these pages it returns
>> >> the
>> >> > default web page. If i turn off the default page, it returns a 400 error.
>> >> >
>> >> > I have tried using the iplisten command of httpcfg that was described by
>> >> > someone with a similar issue, but to no avail. If I run any of the other
>> >> > pages off 192.168.0.1 it works appropriately.
>> >> >
>> >> > If it's a DNS issue, I don't understand how I would be able to direct www
>> >> > and team records to go to 192.168.05 or 192.168.0.6. As far as my firewall
>> >> > (Firebox x500) is concerned - it routes port 80 traffic to 192.168.0.1.
>> >> >
>> >> > Does anyone have any suggestions about what I am doing wrong?
>> >>
>> >>
>> >>
>>
>>