November Happy Hour will be moved to Thursday December 5th.

Run multiple sites under one application instance

Vote:
 

Is it possible to run multiple sites under one instance of my application instead of an instance per application?

#47665
Feb 08, 2011 12:00
Vote:
 

To clarify I want to run the sites as www.somedomain.com/bar and www.somedomain.com/foo.

#47667
Feb 08, 2011 12:57
Vote:
 

There can only be one site per App Domain, which generally means one site per process (which, in turn, means one site per application pool).  Consider, if there was more than one site per App Domain, then what would PageReference.StartPage refer to?

You can run them as you mentioned in your subsequent post by creating multiple applications in IIS and assigned them to different application pools.  They should run fine like that.

#47668
Feb 08, 2011 13:08
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.