Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Advantages of a single instance with multiple portalsAdvantages of a single instance with multiple portals
Previous
 
Next
New Post
10/11/2011 3:55 AM
 
Hi folks, I'm just getting to grips with DNN and trying to map some business requirements through to product functionality. One of the issues that has come up is the pros and cons of creating multiple sites for different purposes in separate instances (i.e. autonomous IIS sites) versus creating a single instance and provisioning a handful of portals underneath it.

In a perfect world, what we'd like to be able to do is get reuse across portals, for example, have a customer register on one and be able to authenticate with those credentials to another. There may also be a level of content sharing across portals, although I'm a little less worried about this as there are other aggregation options.

Are there any obvious advantages for reuse when the portals are in the same instance? Or does this cause more trouble than it's worth, such as difficulty in restoring individual portals and the dependency to upgrade everything at once? I'm conscious that the Professional and Enterprise versions of 6.1 might address some of this, but are features such as federated identity better achieved through other means?

I know these are slightly vague and high-level questions but any input - good, bad or otherwise - would be most appreciated. Thanks!
 
New Post
10/11/2011 4:21 AM
 
Hello,
In DotNetNuke portals are fully segregated from each other i.e. have different users, security roles and content. The primary motivation behind portals was to allow site admins to create distinct sites but still have them use a single codebase and database. By sharing a single database there are obviously cost savings (though there is a marginal impact on performance from running a lot of portals under one database due to certain tables being joined againt during queries - this is typically quite small and there are sites that have hundreds and even thousands of portals under 1 database). Another advantage is that an upgrade can happen for all sites by updating a single code base.

However the big con against portals is if you intend using the same database for different clients and that client then wants faster/better hosting (or to leave your company), as there are no built in tools to extract an individual portal (you can use portal templates but that relies on all modules implementing IPortable which is not always the case). There are of course 3rd party modules which profess to do this (and the obvious hack of duplicating the site and deleleting all the other portals and letting the referential integrity take care of it), but it is a consideration if you plan mixing differnt customers into 1 database.

At present DotNetNuke does not have any form of cross-portal sharing (though if the same user registers on multiple portals with the same username/password combination they are seen as the same user), but there are many 3rd party module which do this - so if this is something you require it is certainly easier to do with multiple portals rather than multiple sites (though you can share the asp.net membership database  cross-site if you want). Please note, we are working on some portal sharing (users/profiles) but its going to be in the PE/EE versions, though the underlying hooks will be in the opencore as per usual.

Regarding seperate sites, the main benefits are a lack of single point of failure, the ability to differentiate sites (e.g. perhaps 1 site uses Razor so therefore needs .net 4.0, but another uses the AD provider which at present has some issues with .net 4.0 integrated pipelines - these are resolved in the next release but it serves as a valid example), and the ability to update each independantly. Similarly you may want to only allow certain sites access to certain extensions and whilst this can be controlled via permissions/premium modules (http://www.dotnetnuke.com/Resources/W...) true granular control would require seperate installs.

On the question of authentication I don't see a big difference between them, except that in an portal situation where child portals are used as the forms auth cookie has the same domain it opens some possibilities that different domains do not because of cookie domain rules/originurl. For both configurations you would typically introduce an approriate authentication provider (or write your own), the wiki has some useful detail on this http://www.dotnetnuke.com/Resources/W...

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/11/2011 10:24 AM
 
The major downside for me is the case where one client needs to restore their site from backup whilst the other clients in that instance don't.  You'd probably end up having to create separate instances at that point, so best do it from the start.

If all your portals for the same client there are modules around that will enable single-sign-on and user sharing across portals.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Advantages of a single instance with multiple portalsAdvantages of a single instance with multiple portals


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out