How to switch primary web site

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.
6/3/2010 10:48:35 AM
Gravatar
Total Posts 8

How to switch primary web site

I've had a few days to go over this product and I'm loving it. Great job!!

I have 3 web sites with 3 separate domains registered and I made the mistake of creating the wrong web site as the primary. Is there any way to make web site 2 the primary "Site 1" ?

 

Thx,

 

Brent...

6/3/2010 10:53:16 AM
Gravatar
Total Posts 8

Re: How to switch primary web site

hmm maybe I can explain this a bit better. I'm hosted at DiscountASP.Net. Maybe I just need to tell them what my primary domain name is and then ask them to set up domain pointers for the other two. I think I'm still left with issues in mojoPortal though.

 

I guess a complete reinstall wouldn't be that bad and might be the better way to go after I get DiscountASP.Net to make their changes first.

 

Thx...

6/4/2010 6:48:45 AM
Gravatar
Total Posts 18439

Re: How to switch primary web site

Hi,

There is a flag on the mp_Sites table IsServerAdminSite, if set to true then the site can manage other sites, if set to false it cannot. By default only the first site created has this flag as true, but you could manually change it on another site directly in the db. However the default site will always be the first site, that is if a host name or folder name is used that is not mapped to a specific site, then it will resolve to the default site which is going to be the first site regardless of whether you make another site a server admin site.

Hope it helps,

Joe

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