Not really - I'm a bit puzzled about what is going on...
Don't know if you should try and drop the wild card in the IIS and then setup the domains like domain.dk and www.domain.dk and for the blog blog.domain.dk and www.blog.domain.dk if you have not tried so already...But I guess the wild card should be catching that...But it's worth the try I think.
So did you try to setup the domains without use of the wilrdcard in IIS?
Umbraco is capable of handling this so there must be something in the setup that is missing somehow...are you sure there is not a typo or something somewhere? Have you tried restarting the site after making the changes to "manage hostnames" in Umbraco?
I think you should try enabling the useDomainPrefixes option in the /config/umbracoSettings.config file. Try setting that to true and touching web.config and see if that does the trick
Two domains causes problems
Hello,
I have two solutions on one umbraco installation.
I have: domain.dk
And: blog.domain.dk
On domain.dk i have a page: domain.dk/page.aspx
But that page also works with blog.domain.dk/pages.aspx
I have setup the host names for each solution, but it still acts wird...
What can i do to fix it?
Hi Jesper
When you say you have setup the hostnames for the sites do you then mean in Umbraco or in IIS or both?
/Jan
both..
In IIS i have *.domain.dk pointing to the umbraco solution..
And then in Umbraco i have:
domain.dk and www.domain.dk under the primery page and blog.domain.dk under the blog..
So any ideas?
Hi Jesper
Not really - I'm a bit puzzled about what is going on...
Don't know if you should try and drop the wild card in the IIS and then setup the domains like domain.dk and www.domain.dk and for the blog blog.domain.dk and www.blog.domain.dk if you have not tried so already...But I guess the wild card should be catching that...But it's worth the try I think.
/Jan
Still a problem..
This: http://ihckonsulenten.dk/2011/3/14/hvilken-intelligent-loesning.aspx shuld be http://BLOG.ihckonsulenten.dk/2011/3/14/hvilken-intelligent-loesning.aspx
but both works.. And that's a problem for SEO...
Hi Jesper
So did you try to setup the domains without use of the wilrdcard in IIS?
Umbraco is capable of handling this so there must be something in the setup that is missing somehow...are you sure there is not a typo or something somewhere? Have you tried restarting the site after making the changes to "manage hostnames" in Umbraco?
/Jan
I have the following setup, and i have tried to restart..:
So i suppose i must make two installations...
Hi Jesper,
I think you should try enabling the useDomainPrefixes option in the /config/umbracoSettings.config file. Try setting that to true and touching web.config and see if that does the trick
Hope this helps,
Tom
Awsom!! That's the trick :)
Thanks alot!
is working on a reply...