Copied to clipboard

Flag this post as spam?

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


  • Bill 81 posts 83 karma points
    Oct 19, 2011 @ 11:57
    Bill
    0

    Multiple Domains in one installation

    Hello everyone,

    I want to have multiple sites in one installation. The structure will be:

    First domain.com
    textpage
    textpage
    textpage
    Second domain.com
    textpage
    textpage
    textpage

    I enabled DomainPrefixes to true as I read to another tutorial and I edited the bindings in the IIS (though I don't have actual domains yet as the sites already exists and we havent changed the dns records but I edited the ports of each website ( the first domain has bindings on port 82 and the second on port 83)

    So I created the root nodes on umbraco and in "Manage Hostnames" I added the IP of the server with the corresponding ports.

    The thing is that whatever port I use to access the site I get the content for the first domain.

    What am I doing wrong;

    Thank you in advance for your help.

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Oct 19, 2011 @ 12:06
    Dirk De Grave
    0

    May have something to do with the fact you're using ports... (Have seen tweets from people stating it doesn't work...) Try updating your hosts file with two domains

    127.0.0.1domain1.com
    127.0.0.1 domain2.com

    And make sure to have the same bindings in IIS en also to set the hostnames in umbraco.

     

    Cheers,

    /Dirk 

Please Sign in or register to post replies

Write your reply to:

Draft