I've installed Umbraco v6.1.6 locally and finished developing multiple-skinned site. Each skin has its own IIS site and application pool and use the same umbraco instance. Everything is working as expected in this local setup.
But when I tried going live it didn't go smoothly as expected. :/
The structure is somewhat like so:
Site-A
EN
Home
ES
Home
Site-B
EN
Home
ES
Home
I've configured Site-B with IIS to use my owned domain and the EN, ES languages to use the domain/EN, domain/ES respectively. The skin and language nodes have a macro that reads a picked content to navigate to, and I've configued each one to navigate to the Home page.
The macro fails because Umbraco sets Model object to be Site-A's, even though I'm seeing the Site-B's address in the browser's address bar.
Why Umbraco ignores my hostname settings and sets a different node from a non-hostnamed site as my Model object ? How can I fix this issue ?
Thanks for the helpers and readers (!)