Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.

 

Running EPiServer as a virtual application

Vote:
 

I am trying to set up 2 episerver sites that run as virtual applications within the same IIS site, but EPiServer seems to always map to the site mapped with the wildcard in sitehosts.


I have 2 <site> elements

Site 1 has : siteUrl="http://feature1.local/uk/"
Site 2 has : siteUrl="http://feature1.local/us/"

but the sitehosts section seems to only work off domain level, so ignores /uk, /us

The first site loads, but the second complains :

Application is initialized with settings for siteId="US", but current request maps to siteId="UK"

 

#66006
Feb 18, 2013 12:25
Vote:
 

I think the solution is just to have seperate code bases with the site hosts wildcard mapping varying for each application

#66011
Feb 18, 2013 13:06
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.