You'll also need to set the "hostnames" value on each site.
So when you've created each site in your Umbraco installation, and you've got two "Home" nodes, right click each one and select "Hostnames" - then follow the instructions to assign a domain to that site.
(Also, obviously don't forget to set the sites up in IIS and set the bindings with the correct domains).
On a side note, how is your language-toggle functionality working? Surely if you're going from EN to DK, then it's just a hyperlink to the DK site version? (which using useDomainPrefixes should generate the correct full URL, providing you're using the DK home node to reference that page)
Does it work for different domain names?
Hi guys.
I can't get it work for different domains.
The website is as follows:
English:
Danish:
think you have to change a setting in umbraco.config: useDomainPrefixes = true fttomh.
You'll also need to set the "hostnames" value on each site.
So when you've created each site in your Umbraco installation, and you've got two "Home" nodes, right click each one and select "Hostnames" - then follow the instructions to assign a domain to that site.
(Also, obviously don't forget to set the sites up in IIS and set the bindings with the correct domains).
On a side note, how is your language-toggle functionality working?
Surely if you're going from EN to DK, then it's just a hyperlink to the DK site version?
(which using useDomainPrefixes should generate the correct full URL, providing you're using the DK home node to reference that page)
Cheers,
Drew
Hi Yannick.
The "useDomainPrefixes=false" approach works fine for me. Thanks.
is working on a reply...