I am also having this exact same problem with CSM5 R2 SP2. I got a new DLL with fileversion 5.2.375.238 that was supposed to fix this but it doesnt work anyway...
Hi. I belive i had the same issue. the sql query that resturns the shortname uri only returns one entry. In an enterprise enviroment you can have the same simple uri for different domain names.
http://world.episerver.com/Templates/Forum/Pages/Thread.aspx?id=35606&epslanguage=en
I have the same problem. "site.se" goes to a norwegian page.
web.config:
<siteHosts>
<add name="www.site.se" language="sv" />
<add name="www.site.no" language="no" />
<add name="site.se" language="sv" />
<add name="site.no" language="no" />
<add name="*" />
</siteHosts>
*EDIT: This turned out to be a problem with the so-called agressive caching, solved using hotfix*
Eskild: Can you give me a link to this hotfix since I have a similar problem. My danish site links to the swedish sometimes and vice versa. :/
And did it work correctly for you? I'm still having troubles after the hotfix. :/
Have you added it to the GAC in addition to adding it to the project? Worked for me.
Eskild: We got a new hotfix from EPiServer and added it to the GAC and it worked like a charm. :) Thanks for the help!