Microsoft Content Management Server - Multiple Sites

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > March 2004 > Multiple Sites





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Multiple Sites
Joerg

2004-02-27, 7:35 am

Hi,

I'm getting confused. I want to host multiple CMS sites
on one server. Each site has its own unique domain name.

Now - traditionally I would use IIS host header mapping
to split the sites into separate Virtual Sites.

With MCMS 2002 there seems to be only ONE entry point
into my IIS ... the Default Web Site, say. I can use CMS
Host Header to URL (in the SCA) to specify that
www.mysite.com is the name of my site. My root channel is
also called www.mysite.com. That's all fine.

But now what happens when I add www.anothersite.com? Ok,
I can create another root channel and call it
www.anothersite.com. But how do I specify that it should
then map to a separate Virtual Site in IIS, if CMS has
only one entry point?

Confused
London
Stefan [MSFT]

2004-02-27, 10:35 am

Hi Joeg,

traditionally you would use IIS host header mapping and with CMS you need to
use the "map channels to host header name" option that can be configured in
the SCA.
Check out the CMS doc and the following article for details:
http://support.microsoft.com/?id=326783

Cheers,
Stefan.

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


"Joerg" <joerg.diekmann@lta.org.uk> wrote in message
news:306401c3fd26$25ba3250$a001280a@phx.gbl...
> Hi,
>
> I'm getting confused. I want to host multiple CMS sites
> on one server. Each site has its own unique domain name.
>
> Now - traditionally I would use IIS host header mapping
> to split the sites into separate Virtual Sites.
>
> With MCMS 2002 there seems to be only ONE entry point
> into my IIS ... the Default Web Site, say. I can use CMS
> Host Header to URL (in the SCA) to specify that
> www.mysite.com is the name of my site. My root channel is
> also called www.mysite.com. That's all fine.
>
> But now what happens when I add www.anothersite.com? Ok,
> I can create another root channel and call it
> www.anothersite.com. But how do I specify that it should
> then map to a separate Virtual Site in IIS, if CMS has
> only one entry point?
>
> Confused
> London



Joerg

2004-03-02, 7:35 am

Hi Stefan,

Ok - had a look at that document ... what I can glean
from that, is that it appears as if the actual aspx files
for both websites would reside in the same virtual site?

Is is possible to set up two sites (www.site1.com and
www.site2.com) to sit on the same server, but within
their own virtual sites?

I've tried to do this - by using IIS Host headers to
differentiate between the two sites. Also CMS is maps
channel names (www.site1.com and www.site2.com) to map to
host header names.

Yet, only www.site1.com (which is the default web site)
works. CMS doesn't seem to pick up an requests through
the ISAPI filter when I want to access www.site2.com.
It's as if www.site2.com doesn't know CMS exist.

So it seems as if CMS has only ONE entry point - the
default website or whichever site you set it up on. So
the ISAPI filter only applies to one virtual site, as
opposed to the entire IIS server ...

Am I missing something?

Joerg

>-----Original Message-----
>Hi Joeg,
>
>traditionally you would use IIS host header mapping and

with CMS you need to
>use the "map channels to host header name" option that

can be configured in
>the SCA.
>Check out the CMS doc and the following article for

details:
>http://support.microsoft.com/?id=326783
>
>Cheers,
>Stefan.
>
>--
>This posting is provided "AS IS" with no warranties, and

confers no rights.
>
>
>"Joerg" <joerg.diekmann@lta.org.uk> wrote in message
>news:306401c3fd26$25ba3250$a001280a@phx.gbl...
name.[color=darkred]
CMS[color=darkred]
is[color=darkred]
Ok,[color=darkred]
should[color=darkred]
>
>
>.
>

Stefan [MSFT]

2004-03-02, 8:36 am

Hi Joerg,

I'm not sure why you would require this but yes you can combine IIS host
header mapping and CMS host header mapping.
You need to ensure that both web sites are configured as CMS entry points in
the SCA.

Cheers,
Stefan.

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


"Joerg" <joerg.diekmann@lta.org.uk> wrote in message
news:54dd01c40050$35791d50$a501280a@phx.gbl...[color=darkred]
> Hi Stefan,
>
> Ok - had a look at that document ... what I can glean
> from that, is that it appears as if the actual aspx files
> for both websites would reside in the same virtual site?
>
> Is is possible to set up two sites (www.site1.com and
> www.site2.com) to sit on the same server, but within
> their own virtual sites?
>
> I've tried to do this - by using IIS Host headers to
> differentiate between the two sites. Also CMS is maps
> channel names (www.site1.com and www.site2.com) to map to
> host header names.
>
> Yet, only www.site1.com (which is the default web site)
> works. CMS doesn't seem to pick up an requests through
> the ISAPI filter when I want to access www.site2.com.
> It's as if www.site2.com doesn't know CMS exist.
>
> So it seems as if CMS has only ONE entry point - the
> default website or whichever site you set it up on. So
> the ISAPI filter only applies to one virtual site, as
> opposed to the entire IIS server ...
>
> Am I missing something?
>
> Joerg
>
> with CMS you need to
> can be configured in
> details:
> confers no rights.
> name.
> CMS
> is
> Ok,
> should


Joerg

2004-03-02, 9:35 am

Hi Stefan,

Hmm ... still confused. In the document you pointed me
to, it tells you how to setup CMS, but doesn't say how to
set up IIS.

Your response now seems to indicate that setting up two
Virtual Sites using IIS Host Headers to distinguish
between the two is unusal.

What is the correct way to set it up in IIS?
Do I have the Default Web Site, and underneath it create
two Virtual DIRECTORIES ? What would the names be of thee
virtual directories? www.site1.com and www.site2.com? If
this is the case, then I still don't see how the CMS
ISAPI filter is supposed to understand this, as the url
would then by www.site.com/www.site1.com ... ??? (if
www.site1.com is in a virtual directory undeneath the
Default Web Site) ...

So, therefore, I can only see one way in setting it up.
And that is that each site is in its own Virtual SITE,
using IIS Host Headers to distinguish between them. Then
in CMS you use Map Host Header to Channel Names, and
define an entry point for each Virtual Site. No?

Anyway, I added an additional entry point in the SCA
(thanks for that) with IIS Host Headers set up, and two
Virtual SITES, and CMS Host header mapping on, and it is
working just fine. Thanks again for your help.


>-----Original Message-----
>Hi Joerg,
>
>I'm not sure why you would require this but yes you can

combine IIS host
>header mapping and CMS host header mapping.
>You need to ensure that both web sites are configured as

CMS entry points in
>the SCA.
>
>Cheers,
>Stefan.
>
>--
>This posting is provided "AS IS" with no warranties, and

confers no rights.
>
>
>"Joerg" <joerg.diekmann@lta.org.uk> wrote in message
>news:54dd01c40050$35791d50$a501280a@phx.gbl...
files[color=darkred]
site?[color=darkred]
to[color=darkred]
and[color=darkred]
and[color=darkred]
sites[color=darkred]
mapping[color=darkred]
point[color=darkred]
channel[color=darkred]
has[color=darkred]
>
>
>.
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com