Host headers and multiple sites
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Host headers and multiple sites

 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
Dastardly
Guest





Posted: Fri Sep 09, 2005 8:22 am    Post subject: Host headers and multiple sites Reply with quote

We currently have two servers and two CMS sites, intranet and internet in
development. Both sites are authored on the same server. The intranet site is
published on this same server and the internet site is published on the
second server for public access. Both sites access the same CMS database, and
both are top level channels under /Channels, named Intranet and
www.companyname.com

In IIS on the authoring server neither site currently has an IP address set.
The Intranet site is on port 80 and the Internet site port 82. The IIS sites
are named Intranet and www.companyname.com (to correspond to the top level
channel names)

When we go live am I right in thinking what needs to be done is:
On the authoring server:
1. Assign the same IP address to both authoring sites
2. Change the port number on the Internet authoring site to also be 80 (so
both authoring sites are default on this server)
3. Switch on host header mapping in the SCA
4. Add the DNS entry for the Intranet site so subscribers can navigate to
"Intranet"

On the Internet server:
1. Set the IPAddress www.companyname.com of the internet site in IIS

Does this all seem correct?

Thank you.
Back to top
Stefan [MSFT]
Guest





Posted: Fri Sep 09, 2005 8:52 am    Post subject: Re: Host headers and multiple sites Reply with quote

Hi Dasdardly,

looks correct.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"Dastardly" <Dastardly@discussions.microsoft.com> wrote in message
news:484D61E2-1783-4AE7-999D-9B7D226B8EA8@microsoft.com...
Quote:
We currently have two servers and two CMS sites, intranet and internet in
development. Both sites are authored on the same server. The intranet site
is
published on this same server and the internet site is published on the
second server for public access. Both sites access the same CMS database,
and
both are top level channels under /Channels, named Intranet and
www.companyname.com

In IIS on the authoring server neither site currently has an IP address
set.
The Intranet site is on port 80 and the Internet site port 82. The IIS
sites
are named Intranet and www.companyname.com (to correspond to the top level
channel names)

When we go live am I right in thinking what needs to be done is:
On the authoring server:
1. Assign the same IP address to both authoring sites
2. Change the port number on the Internet authoring site to also be 80 (so
both authoring sites are default on this server)
3. Switch on host header mapping in the SCA
4. Add the DNS entry for the Intranet site so subscribers can navigate to
"Intranet"

On the Internet server:
1. Set the IPAddress www.companyname.com of the internet site in IIS

Does this all seem correct?

Thank you.
Back to top
Dastardly
Guest





Posted: Sun Sep 11, 2005 8:51 pm    Post subject: Re: Host headers and multiple sites Reply with quote

Many thanks Stefan. Your advice and that of others on this newsgroup has been
invaluable.

"Stefan [MSFT]" wrote:

Quote:
Hi Dasdardly,

looks correct.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"Dastardly" <Dastardly@discussions.microsoft.com> wrote in message
news:484D61E2-1783-4AE7-999D-9B7D226B8EA8@microsoft.com...
We currently have two servers and two CMS sites, intranet and internet in
development. Both sites are authored on the same server. The intranet site
is
published on this same server and the internet site is published on the
second server for public access. Both sites access the same CMS database,
and
both are top level channels under /Channels, named Intranet and
www.companyname.com

In IIS on the authoring server neither site currently has an IP address
set.
The Intranet site is on port 80 and the Internet site port 82. The IIS
sites
are named Intranet and www.companyname.com (to correspond to the top level
channel names)

When we go live am I right in thinking what needs to be done is:
On the authoring server:
1. Assign the same IP address to both authoring sites
2. Change the port number on the Internet authoring site to also be 80 (so
both authoring sites are default on this server)
3. Switch on host header mapping in the SCA
4. Add the DNS entry for the Intranet site so subscribers can navigate to
"Intranet"

On the Internet server:
1. Set the IPAddress www.companyname.com of the internet site in IIS

Does this all seem correct?

Thank you.


Back to top
Dastardly
Guest





Posted: Tue Oct 25, 2005 7:31 am    Post subject: Re: Host headers and multiple sites Reply with quote

One small problem. As far as I can see there is no way to have two sites on
the same machine using the same IP and port number without setting a host
header in IIS in the sites' advanced properties. When I add a host header to
each site in IIS than I can't access the sites anymore.

Do I have to have multiple IP addresses assigned to a machine to have all
sites on port 80?

Thanks for your help.


"Stefan [MSFT]" wrote:

Quote:
Hi Dasdardly,

looks correct.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"Dastardly" <Dastardly@discussions.microsoft.com> wrote in message
news:484D61E2-1783-4AE7-999D-9B7D226B8EA8@microsoft.com...
We currently have two servers and two CMS sites, intranet and internet in
development. Both sites are authored on the same server. The intranet site
is
published on this same server and the internet site is published on the
second server for public access. Both sites access the same CMS database,
and
both are top level channels under /Channels, named Intranet and
www.companyname.com

In IIS on the authoring server neither site currently has an IP address
set.
The Intranet site is on port 80 and the Internet site port 82. The IIS
sites
are named Intranet and www.companyname.com (to correspond to the top level
channel names)

When we go live am I right in thinking what needs to be done is:
On the authoring server:
1. Assign the same IP address to both authoring sites
2. Change the port number on the Internet authoring site to also be 80 (so
both authoring sites are default on this server)
3. Switch on host header mapping in the SCA
4. Add the DNS entry for the Intranet site so subscribers can navigate to
"Intranet"

On the Internet server:
1. Set the IPAddress www.companyname.com of the internet site in IIS

Does this all seem correct?

Thank you.


Back to top
Stefan [MSFT]
Guest





Posted: Tue Oct 25, 2005 8:51 am    Post subject: Re: Host headers and multiple sites Reply with quote

Hi,

first of all: you can easily use the same IIS website to host multiple
different MCMS websites.
If you don't like this can need to use IIS host headers. This will work -
except if you are using SSL as IIS host header mapping is not supported with
SSL.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"Dastardly" <Dastardly@discussions.microsoft.com> wrote in message
news:9FCAEDE3-E278-44E7-9751-E9C285CEDE53@microsoft.com...
Quote:
One small problem. As far as I can see there is no way to have two sites
on
the same machine using the same IP and port number without setting a host
header in IIS in the sites' advanced properties. When I add a host header
to
each site in IIS than I can't access the sites anymore.

Do I have to have multiple IP addresses assigned to a machine to have all
sites on port 80?

Thanks for your help.


"Stefan [MSFT]" wrote:

Hi Dasdardly,

looks correct.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no
rights

New to MCMS?
Check out this book: Building Websites Using MCMS:
http://tinyurl.com/6zj44
----------------------


"Dastardly" <Dastardly@discussions.microsoft.com> wrote in message
news:484D61E2-1783-4AE7-999D-9B7D226B8EA8@microsoft.com...
We currently have two servers and two CMS sites, intranet and internet
in
development. Both sites are authored on the same server. The intranet
site
is
published on this same server and the internet site is published on the
second server for public access. Both sites access the same CMS
database,
and
both are top level channels under /Channels, named Intranet and
www.companyname.com

In IIS on the authoring server neither site currently has an IP address
set.
The Intranet site is on port 80 and the Internet site port 82. The IIS
sites
are named Intranet and www.companyname.com (to correspond to the top
level
channel names)

When we go live am I right in thinking what needs to be done is:
On the authoring server:
1. Assign the same IP address to both authoring sites
2. Change the port number on the Internet authoring site to also be 80
(so
both authoring sites are default on this server)
3. Switch on host header mapping in the SCA
4. Add the DNS entry for the Intranet site so subscribers can navigate
to
"Intranet"

On the Internet server:
1. Set the IPAddress www.companyname.com of the internet site in IIS

Does this all seem correct?

Thank you.


Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot 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




New Topics Powered by phpBB