Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jesper Pedersen 12 posts 32 karma points
    Mar 14, 2011 @ 20:29
    Jesper Pedersen
    0

    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?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 14, 2011 @ 20:30
    Jan Skovgaard
    0

    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

  • Jesper Pedersen 12 posts 32 karma points
    Mar 14, 2011 @ 20:32
    Jesper Pedersen
    0

    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..

  • Jesper Pedersen 12 posts 32 karma points
    Mar 15, 2011 @ 18:34
    Jesper Pedersen
    0

    So any ideas?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 15, 2011 @ 22:49
    Jan Skovgaard
    0

    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

  • Jesper Pedersen 12 posts 32 karma points
    Mar 16, 2011 @ 17:03
  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 16, 2011 @ 19:09
    Jan Skovgaard
    0

    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

  • Jesper Pedersen 12 posts 32 karma points
    Mar 16, 2011 @ 20:08
    Jesper Pedersen
    0

    I have the following setup, and i have tried to restart..:

  • Jesper Pedersen 12 posts 32 karma points
    Mar 17, 2011 @ 20:13
    Jesper Pedersen
    0

    So i suppose i must make two installations...

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Mar 17, 2011 @ 20:18
    Tom Fulton
    2

    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

  • Jesper Pedersen 12 posts 32 karma points
    Mar 17, 2011 @ 20:29
    Jesper Pedersen
    0

    Awsom!! That's the trick :)

     

    Thanks alot!

Please Sign in or register to post replies

Write your reply to:

Draft