Multiple master sites with single DB and separate installations?

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
3/2/2009 9:39:30 PM
Gravatar
Total Posts 3

Multiple master sites with single DB and separate installations?

I've been exploring mojoPortal. Very straighforward and feature rich. Thank you :)

I see it's possible to host multiple sites by setting AllowMultipleSites (and then using hostnames or folders) using the same database. One variation I've considered is to use either scheme (host or folder) based on the requirements of each project, maybe using a separate installation, but still using the same DB (ideally). The idea is to allow for multiple-language sites like domain1.com/en and domain1.com/es, while still being able to host domain2.com or domain3.com (each using its own preferences)... I think this would be possible if having multiple "master" sites (and multiple installations), and then specify the master using RelatedSiteID, but I haven't had much success since I don't know how to create a new master site in the same DB (or maybe it's not possible at all).

I know it's possible to implemente multiple language sites using hostnames (en.domain1.com and es.domain1.com), it just seems friendlier in some cases to use folder names, and I'm exploring alternatives.

Another thing I'm doing is to use a junction point for mojoPortal files/binaries, so all the installations share the same codebase. I'm use a relative path to ../user.config) for the appSettings section, so each installation can customize settings yet keep a single codebase.

Any comments? Thanks 

3/5/2009 6:32:01 AM
Gravatar
Total Posts 18439

Re: Multiple master sites with single DB and separate installations?

Hi,

For multi sites its an either or thing per installation, either you use host name based child sites or folder based, you cannot mix and match folder and host sites in the same installation and I would not recommend sharing the same db for 2 installations where one uses hosts and another uses folders. I mean it may work but I don't test that scenario or support it.

For multiple languages my current recommendation is to use Folder sites with related sites mode enabled so they share the same users and roles.

See Supporting Multiple Languages.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.