Have some difficulty setting up multiple web sites on IIS 5.0, W2K server -
still, after reading all the documentation.

This is what we want:

Primary web site - www.myprimary.com get there via IP address (only one
IP address comes to server), or www.myprimary.com or myprimary.com

Secondary web site - www.mysecond.com get there via www.mysecondary.com or
mysecond.com.

Questions: If I set up the primary Web Stie Identfication - Advanced
properties with the IP address selected and no Host Header Name, and the
secondary site with no IP Address but with Host Header Name set to
www.mysecond.com and mysecond.com, it works for the primary site, but
requests to the secondary site also go to the primary site.

If I set up all sites with the IP Address set (not All Unassigned), then
where will a request by IP address go to?

Do I set up the primary only with an IP address AND set the Host Header Name
to www.myprimary.com, etc, and secondary without an IP address, but with the
Host Header Name set to www.mysecond.com, etc?

Thanks for any help.

Doug

Re: Trouble setting up multiple web site identities by Keith

Keith
Fri Dec 10 04:29:41 CST 2004

First of all, what you need to do is set both sites with the IP address, and
all the host headers for that site. Each site needs to be different, but
that difference can come from the IP address, host address or port, or a
combination of the three.

If you just set both sites with the IP address and no host name, the first
one you create will work, but the second will go into a stopped state, and
all traffic for both will go to the first. Occasionally you may find that
the second site doesn't actually display as being stopped but in reality it
will be.

Keith

"DougMunday" <DougMunday@discussions.microsoft.com> wrote in message
news:B2FA0691-5916-4B1B-AF3D-3D2093042CA2@microsoft.com...
> Have some difficulty setting up multiple web sites on IIS 5.0, W2K
server -
> still, after reading all the documentation.
>
> This is what we want:
>
> Primary web site - www.myprimary.com get there via IP address (only one
> IP address comes to server), or www.myprimary.com or myprimary.com
>
> Secondary web site - www.mysecond.com get there via www.mysecondary.com
or
> mysecond.com.
>
> Questions: If I set up the primary Web Stie Identfication - Advanced
> properties with the IP address selected and no Host Header Name, and the
> secondary site with no IP Address but with Host Header Name set to
> www.mysecond.com and mysecond.com, it works for the primary site, but
> requests to the secondary site also go to the primary site.
>
> If I set up all sites with the IP Address set (not All Unassigned), then
> where will a request by IP address go to?
>
> Do I set up the primary only with an IP address AND set the Host Header
Name
> to www.myprimary.com, etc, and secondary without an IP address, but with
the
> Host Header Name set to www.mysecond.com, etc?
>
> Thanks for any help.
>
> Doug



Re: Trouble setting up multiple web site identities by DougMunday

DougMunday
Fri Dec 10 18:15:04 CST 2004

Thanks Keith!

With your tips I got it working. One additional thing I had to do was put
our public IPAddress in the host Address field of our primary site in order
for an IPAddress only URL to get through. Its now all working.

Thanks for your help.

Doug

"Keith Langmead" wrote:

> First of all, what you need to do is set both sites with the IP address, and
> all the host headers for that site. Each site needs to be different, but
> that difference can come from the IP address, host address or port, or a
> combination of the three.
>
> If you just set both sites with the IP address and no host name, the first
> one you create will work, but the second will go into a stopped state, and
> all traffic for both will go to the first. Occasionally you may find that
> the second site doesn't actually display as being stopped but in reality it
> will be.
>
> Keith
>
> "DougMunday" <DougMunday@discussions.microsoft.com> wrote in message
> news:B2FA0691-5916-4B1B-AF3D-3D2093042CA2@microsoft.com...
> > Have some difficulty setting up multiple web sites on IIS 5.0, W2K
> server -
> > still, after reading all the documentation.
> >
> > This is what we want:
> >
> > Primary web site - www.myprimary.com get there via IP address (only one
> > IP address comes to server), or www.myprimary.com or myprimary.com
> >
> > Secondary web site - www.mysecond.com get there via www.mysecondary.com
> or
> > mysecond.com.
> >
> > Questions: If I set up the primary Web Stie Identfication - Advanced
> > properties with the IP address selected and no Host Header Name, and the
> > secondary site with no IP Address but with Host Header Name set to
> > www.mysecond.com and mysecond.com, it works for the primary site, but
> > requests to the secondary site also go to the primary site.
> >
> > If I set up all sites with the IP Address set (not All Unassigned), then
> > where will a request by IP address go to?
> >
> > Do I set up the primary only with an IP address AND set the Host Header
> Name
> > to www.myprimary.com, etc, and secondary without an IP address, but with
> the
> > Host Header Name set to www.mysecond.com, etc?
> >
> > Thanks for any help.
> >
> > Doug
>
>
>