|
|
 Rank: Devotee
Joined: 8/5/2007 Posts: 94 Location: Bergen, Norway
|
I have tried (without success) to make multiple sites on my umbraco installation. I have changed the umbracoSettings.config useDomainPrefixes to false, but it still does not want to work. My site structure is as follows: - Content - Home [en.eyecatch.no] (English version of the site) - Hjem [no.eyecatch.no] (Norwegian version of the site) - Homepage [home.eyecatch.no] (My wife's homepage using a lot of the same templates) - Bergen [bergen.eyecatch.no] (A testing page) I have tried to assign the correct hostnames to the nodes, but to no avail. What happens is that when I try to access the site using en.eyecatch.no or any of the other ones, it does find anything. What I have done now to make the site work, is to assign www.eyecatch.no to the 'Home' node. Do I have to change something in ISS to make it work? Regards, Ove Andersen www.eyecatch.no
|
|
 Rank: Devotee
Joined: 8/5/2007 Posts: 94 Location: Bergen, Norway
|
Sorry. Here is a better view of the site structure:  www.eyecatch.no
|
|
 Rank: Addict
Joined: 7/19/2006 Posts: 791 Location: Århus, Denmark
|
It seems that you have not set up the domains in the IIS. As far as I can tell, the are pointing to some virtual directory... You need to set up the domains to point to your umbraco site in the IIS
|
|
 Rank: Devotee
Joined: 8/5/2007 Posts: 94 Location: Bergen, Norway
|
You mean that every adress listet above has to point to www.eyecatch.no? www.eyecatch.no
|
|
 Rank: Addict
Joined: 7/19/2006 Posts: 791 Location: Århus, Denmark
|
Which server are you using(xp/2003/vista)? I'm no server admin, but I think what you need to do is to only have _one_ website created in IIS for your umbraco site. In the IIS admin, rightclick your site at select "Properties". On the "Website" tab, click the "Advanced" button. Here you can add multiple "host header values" to the same website, and you just add all the domains you need in you umbraco install.
|
|
 Rank: Devotee
Joined: 8/5/2007 Posts: 94 Location: Bergen, Norway
|
I dont have my own server, im using a webhosting company. But they can probably set it up for me as you explained above. I noticed that all the addresses listed above points to their own folder. www.eyecatch.no -> \www en.eyecatch.no -> \subdomener\en no.eyecatch.no -> \subdomener\no and so forth... www.eyecatch.no
|
|
 Rank: Addict
Joined: 7/19/2006 Posts: 791 Location: Århus, Denmark
|
Ok, that makes sense then. See if you can get the hosting company to point the to the same folder: www.eyecatch.no -> \www en.eyecatch.no -> \www no.eyecatch.no -> \www Note: Also remember to ask them to set up the domains to use the same app pool so that you don't run in to caching trouble later on.
|
|
 Rank: Devotee
Joined: 8/5/2007 Posts: 94 Location: Bergen, Norway
|
Now it works! Thank you for your help Morten! However, I still have one question. How can I detect the browser language? How can I make links which keeps the selected language by cookie? The idea is to find the browser/os language and redirect to the correct subdomain based on this information. If no information can be found, it defaults to english. When the user is on the site, he can select the language again by clicking on some flags somewhere. Regards, Ove Andersen www.eyecatch.no
|
|
|
Guest |