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"
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"