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 :
I think the solution is just to have seperate code bases with the site hosts wildcard mapping varying for each application