|
Home > Archive > Microsoft Content Management Server > July 2005 > Multiple Web 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 Web Sites
|
|
| AKaczmar 2005-07-22, 5:50 pm |
| Hi,
I know that I can host multiple sites from CMS using map channel names to
host headers, but I don't know how to configure separate web applications for
the two sites.
Here is my scenario. We currently have an Internet site (CMS 2002) that
uses forms authentication, we would like to add an Intranet site using a
different domain name and use windows authentication for this site by having
a separate web application for the Intranet site with a different web.config
file.
My question is, is this even possible? From looking around, it looks like I
can't have two authentication methods to the same CMS instance because for
the Internet site I have to allow guests and I think that for windows
authentication to work you have to not allow guests. I just want to verify
this.
If this is not possible then I guess I will just have to use forms
authentication for my Intranet site. But if this is what I have to do, then
I am confused as to whether I should be using the same web application as I
do for my Internet site or create a new application in a new virtual
directory that contains the templates, user controls, etc for the Intranet
site.
Thanks,
Angela Kaczmar
| |
| Angus Logan [MVP] 2005-07-23, 7:50 am |
| Hi Angela,
What you would need to do is create multiple IIS virtual servers - either
bound to host headers or different IP addresses.
Then in the SCA set them up as "read only" or "read/write".
Then you can set the permissions on the IIS virtual server easily.
Regards
--
________________________________________
Angus Logan (MCAD/MCDBA/MCP/MVP for MCMS)
Product Specialist
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________
"AKaczmar" <AKaczmar@discussions.microsoft.com> wrote in message
news:08A735CF-FAC5-4B59-8213-FE9C1E914F07@microsoft.com...
> Hi,
>
> I know that I can host multiple sites from CMS using map channel names to
> host headers, but I don't know how to configure separate web applications
> for
> the two sites.
>
> Here is my scenario. We currently have an Internet site (CMS 2002) that
> uses forms authentication, we would like to add an Intranet site using a
> different domain name and use windows authentication for this site by
> having
> a separate web application for the Intranet site with a different
> web.config
> file.
>
> My question is, is this even possible? From looking around, it looks like
> I
> can't have two authentication methods to the same CMS instance because for
> the Internet site I have to allow guests and I think that for windows
> authentication to work you have to not allow guests. I just want to
> verify
> this.
>
> If this is not possible then I guess I will just have to use forms
> authentication for my Intranet site. But if this is what I have to do,
> then
> I am confused as to whether I should be using the same web application as
> I
> do for my Internet site or create a new application in a new virtual
> directory that contains the templates, user controls, etc for the Intranet
> site.
>
> Thanks,
>
> Angela Kaczmar
| |
| Stefan [MSFT] 2005-07-24, 8:04 am |
| Hi Angela,
that can easily be done!
Ensure that your template project are not located in the root of your
website (not recommended anyway).
Then create two different template projects for the two different virtual
servers in the same IIS website.
That's all! As the web.config of the template project will be used with the
project you now have different web.config files for each website if you
ensure that the correct template objects are used.
This can be achieved by having separate template galleries for each site.
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
----------------------
"AKaczmar" <AKaczmar@discussions.microsoft.com> wrote in message
news:08A735CF-FAC5-4B59-8213-FE9C1E914F07@microsoft.com...
> Hi,
>
> I know that I can host multiple sites from CMS using map channel names to
> host headers, but I don't know how to configure separate web applications
> for
> the two sites.
>
> Here is my scenario. We currently have an Internet site (CMS 2002) that
> uses forms authentication, we would like to add an Intranet site using a
> different domain name and use windows authentication for this site by
> having
> a separate web application for the Intranet site with a different
> web.config
> file.
>
> My question is, is this even possible? From looking around, it looks like
> I
> can't have two authentication methods to the same CMS instance because for
> the Internet site I have to allow guests and I think that for windows
> authentication to work you have to not allow guests. I just want to
> verify
> this.
>
> If this is not possible then I guess I will just have to use forms
> authentication for my Intranet site. But if this is what I have to do,
> then
> I am confused as to whether I should be using the same web application as
> I
> do for my Internet site or create a new application in a new virtual
> directory that contains the templates, user controls, etc for the Intranet
> site.
>
> Thanks,
>
> Angela Kaczmar
| |
| Stefan [MSFT] 2005-07-24, 8:04 am |
| Hi Angela,
to use windows authentication you need to remove anonymous access from the
template project virtual directory.
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
----------------------
"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:ut5JEODkFHA.3336@tk2msftngp13.phx.gbl...
> Hi Angela,
>
> that can easily be done!
> Ensure that your template project are not located in the root of your
> website (not recommended anyway).
> Then create two different template projects for the two different virtual
> servers in the same IIS website.
>
> That's all! As the web.config of the template project will be used with
> the project you now have different web.config files for each website if
> you ensure that the correct template objects are used.
> This can be achieved by having separate template galleries for each site.
>
> 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
> ----------------------
>
>
> "AKaczmar" <AKaczmar@discussions.microsoft.com> wrote in message
> news:08A735CF-FAC5-4B59-8213-FE9C1E914F07@microsoft.com...
>
>
|
|
|
|
|