asp.net mvc 4 - Umbraco 7.4.3 Multi domain setup -


inside umbraco 7.4.3 installation have 1 root node, on node have multiple domain names specified.

something like:

www.site.local/nl  www.site.local/en  www.site.nl/nl  www.site.nl/en 

when visiting www.site.nl/nl site, website showing urls on page showing www.site.local/nl urls instead of www.site.nl/nl.

what i've tried:

umbracosettings.config: usedomainprefixes to true

inside application starting: 

sitedomainhelper.addsite("local", "www.site.local"); sitedomainhelper.addsite("staging", "www.site.nl"); 

could me out?

----- update 2 ----- tired upgrading umbraco installation see if version related issue. upgrading 7.5.12 after fixing things, urls work same way dit in 7.4.3 (first url in hostname taken, not current environment)

i believe default domain first domain in hosts list when right-click on root node , set hosts.


Comments