Multisite Setup

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
4/16/2013 1:29:38 PM
Gravatar
Total Posts 30

Multisite Setup

I followed this documentation http://www.mojoportal.com/multiplesitesbasedonfoldernames.aspx to set up multisite

In Web.config, set UseFoldersInsteadOfHostnamesForMultipleSites="true"

I created a folder named site2 and put an empty file named display.aspx in that folder

When I was done http://somehost/site2 is just a blank white page

Am I missing something?

 

4/17/2013 11:48:59 AM
Gravatar
Total Posts 18439

Re: Multisite Setup

Did you create a new site from the mojoPortal UI and assign the folder mapping to the site? 

4/17/2013 1:24:43 PM
Gravatar
Total Posts 30

Re: Multisite Setup

Yes. I did it in this order:

  1. Edit config file
  2. Create New site through Admin called Site2
  3. Create folder called Site2 beneath the Data folder
  4. Go back to Admin click Site List click Site Settings next to Site2
  5. Click Folder Site Mappings. Enter Site2 and click Add Folder Mapping
  6. Navigate to mywebsite\Site2 in IE
  7. Blank page displayed

 

4/17/2013 1:37:48 PM
Gravatar
Total Posts 18439

Re: Multisite Setup

Is the first site a root level site? It must be for folder sites to work.

The Site2 folder may not be needed at all, however if it is needed it does not go below /Data it must be a folder directly below the root of the first site. The only purpose of that folder and the empty Default.aspx file is to make sure .NET is the handler for the request and to prevent IIS from returning a 404 before mojoPortal can handle the request.

4/17/2013 1:45:09 PM
Gravatar
Total Posts 30

Re: Multisite Setup

That is my problem my site is not a root level site

Do I understand correctly that there is not a way to do multisites unless I change it to a root level?

4/17/2013 2:23:29 PM
Gravatar
Total Posts 18439

Re: Multisite Setup

Correct, to use the multi site by folder feature in mojoPortal, the first site must be installed as a root level IIS web site (not in a sub folder beneath a root site), the child sites then created within mojoPortal will appear to be running in sub folders beneath that root level site.

 

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