Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Trouble setting up multiple web site identities

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IIS won't serve PDF  
Author Message
dougmunday

External


Since: Dec 07, 2004
Posts: 8



(Msg. 1) Posted: Thu Dec 09, 2004 12:23 pm
Post subject: Trouble setting up multiple web site identities
Archived from groups: microsoft>public>inetserver>iis (more info?)

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

 >> Stay informed about: Trouble setting up multiple web site identities 
Back to top
Login to vote
klangmead

External


Since: Aug 27, 2004
Posts: 12



(Msg. 2) Posted: Fri Dec 10, 2004 6:35 am
Post subject: Re: Trouble setting up multiple web site identities [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 DeleteThis @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 - <a style='text-decoration: underline;' href="http://www.myprimary.com" target="_blank">www.myprimary.com</a> get there via IP address (only one
 > IP address comes to server), or <a style='text-decoration: underline;' href="http://www.myprimary.com" target="_blank">www.myprimary.com</a> or myprimary.com
 >
<font color=purple> > Secondary web site - <a style='text-decoration: underline;' href="http://www.mysecond.com" target="_blank">www.mysecond.com</a> get there via <a style='text-decoration: underline;' href="http://www.mysecondary.com</font" target="_blank">www.mysecondary.com</font</a>>
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
 > <a style='text-decoration: underline;' href="http://www.mysecond.com" target="_blank">www.mysecond.com</a> 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 <a style='text-decoration: underline;' href="http://www.myprimary.com," target="_blank">www.myprimary.com,</a> etc, and secondary without an IP address, but with
the
 > Host Header Name set to <a style='text-decoration: underline;' href="http://www.mysecond.com," target="_blank">www.mysecond.com,</a> etc?
 >
 > Thanks for any help.
 >
 > Doug<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Trouble setting up multiple web site identities 
Back to top
Login to vote
dougmunday

External


Since: Dec 07, 2004
Posts: 8



(Msg. 3) Posted: Fri Dec 10, 2004 4:15 pm
Post subject: Re: Trouble setting up multiple web site identities [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.DeleteThis@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 - <a style='text-decoration: underline;' href="http://www.myprimary.com" target="_blank">www.myprimary.com</a> get there via IP address (only one
  > > IP address comes to server), or <a style='text-decoration: underline;' href="http://www.myprimary.com" target="_blank">www.myprimary.com</a> or myprimary.com
  > >
<font color=green>  > > Secondary web site - <a style='text-decoration: underline;' href="http://www.mysecond.com" target="_blank">www.mysecond.com</a> get there via <a style='text-decoration: underline;' href="http://www.mysecondary.com</font" target="_blank">www.mysecondary.com</font</a>>
 > 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
  > > <a style='text-decoration: underline;' href="http://www.mysecond.com" target="_blank">www.mysecond.com</a> 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 <a style='text-decoration: underline;' href="http://www.myprimary.com," target="_blank">www.myprimary.com,</a> etc, and secondary without an IP address, but with
 > the
  > > Host Header Name set to <a style='text-decoration: underline;' href="http://www.mysecond.com," target="_blank">www.mysecond.com,</a> etc?
  > >
  > > Thanks for any help.
  > >
  > > Doug
 >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Trouble setting up multiple web site identities 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]