Hosting Multiple Sites

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
2/24/2009 6:35:00 AM
Gravatar
Total Posts 72

Hosting Multiple Sites

Hi Joe,

A few questions re hosting multiple sites.  

1. Do you recommend a cheap or reasonable priced .net host that can handle mojoportal and multiple sites

2. If I host multiple sites, is it easy or a problem if in the future I needed to move one of those sites to a single mojo use scenario on a different server.  Can the data be transferred and the site?

3. How would web statistics packages like Woople work with multiple sites based on Host Names?  Does .Net keep seperate log files?

Cheers

 

 

 

 

 

2/24/2009 7:37:00 AM
Gravatar
Total Posts 18439

Re: Hosting Multiple Sites

Hi Chris,

1. Any host that supports mojoportal should be fine but how many sites you can host and performance will depend on the robustness of the hosting package and the aggregate traffic of all the sites. I don't really have a report card for different hosts. Have heard some complaints about WebHost4ASP recently but used them in the past and they were decent. For shared hosting I currently use DiscountASP or CrystalTech, for dedicated servers I use 1and1.com. I'm in the 1and1 affiliate program so if you go with a dedicated server from them please click this link and I can get a little commission. I'm not an affiliate with any others, I just list hosts that I'm aware of that do host mojoportal.

2. It can be done, its not trvial but its not extremely difficult. You would backup the site file system and database and restore in a new location then delete unwanted sites from the db using Site Settings in the root admin site, then delete unwanted /Sites/[SiteID] folders. Probably would be best toi query around in the db and make sure all unwanted site data from other sites is gone.  Once upon a time joeaudette.com was running from the same installation as mojoportal.com but I separated them a good while back with this approach.

3. the IIS logs would include all sites traffic because its really all one site from IIS point of view. But google analytics and woopra work just fine because they don't rely on IIS logs they track to their own data from javascript. ASP.NET doesn't have any logging for web requests, its IIS that does the logging. The mojoportal log is also per installation so events/errors of all sites appear in the same mojoportal log. Only the root admin site has visibility to the mojoportal log via the UI.

I generally don't host different customer sites in the same installation (though some people do). I host multiple sites for the same customer that way sometimes. There is no good way currently to backup or restore a specific site from a multi site installation. If you restore the db its restores the whole db.

Hope it helps,

Joe

3/13/2009 7:29:50 AM
Gravatar
Total Posts 98

Re: Hosting Multiple Sites

Hi ,all

I'm new in mojoPortal

I have a question..

I create a website and i want to support 4 languages

I create a child site for admin site and in section Folder Mapp i mapped this to a physical folder each put in wwwroot/

I open the admin site with localhost/mojo

When open the child site i try localhost/mojo/mojoFrance (mojoFrance is folder mapped)

But is open a empty page!

And I use this in my web.config

<add key="UseCultureOverride" value="true"/>
<add key="site4culture" value="de-DE" />
<add key="site1culture" value="en-US" />

Can help me anyone?

Thanks and sorry for my english!

3/13/2009 7:36:30 AM
Gravatar
Total Posts 18439

Re: Hosting Multiple Sites

Folder sites can only be 1 folder deep, so the admin site has to be at localhost, not localhost/mojo.

Hope it helps,

Joe

3/13/2009 7:41:54 AM
Gravatar
Total Posts 98

Re: Hosting Multiple Sites

Sorry I don't understand

Where i must placed the folder?

If open localhost/mojoFrance give me error: HTTP 404 - File not found Internet Information Services

The site created is in ~/Data/Sites/

In my mojoFrance I have only one file Default.aspx and is empty

 

Thanks,Valik

 

3/13/2009 7:48:47 AM
Gravatar
Total Posts 18439

Re: Hosting Multiple Sites

Get the first site running at http://localhost not http://localhost/mojo

You may want to start with a clean db because you alreadty created url mappings for  /mojo/pagename.aspx

Start with a clean db, get the first site running at http://localhost, then create the folder site at http://localhost/mojoFrance/Default.aspx

If you want it to work with http://localhost/mojoFrance/ without the Default.aspx then you need to actually create a folder named /mojoFrance and put an empty text file there named Default.aspx

Hope it helps,

Joe 

3/13/2009 7:51:29 AM
Gravatar
Total Posts 98

Re: Hosting Multiple Sites

  My virtual folder on IIS is names "mojo" You say that I renamed whit localhost?

 

Valik

3/13/2009 7:56:10 AM
Gravatar
Total Posts 18439

Re: Hosting Multiple Sites

No, I say point the root web site at the same folder where you have the virtual directory pointing at then delete the virtual directory. 

It can't work in a Virtual Directory the admin site must be a root web site.

3/13/2009 8:06:02 AM
Gravatar
Total Posts 55

Re: Hosting Multiple Sites

Our colleague named 111 maybe works with such Windows/IIS combo that doesn't support multiple web sites (like my Win XP / IIS 5.1 development machine). If that is a problem, this wonderful utility should solve it (for development purposes). Using it, you can have multiple web sites on IIS 5.1 with limitation that only one of them can be active in the same time. However, it's child's play to deactivate one site and activate another when needed.

3/13/2009 8:08:21 AM
Gravatar
Total Posts 98

Re: Hosting Multiple Sites

 What is a root website?

I created in IIS 5.1 in section Web Sites/Default Web Site/ one virtual dir for my first site

The next site created in mojoPortal was normalyy created from SiteSettings ,and mapped with mojoFrance folder

You say that i must create a new virtual directory in IIS?and point to my folder mapped?

Valik

3/13/2009 8:12:15 AM
Gravatar
Total Posts 98

Re: Hosting Multiple Sites

 

  Yes I use IIS 5.1 and Windows XP SP2

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