Copied to clipboard

Flag this post as spam?

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


  • Sam 79 posts 426 karma points
    Oct 19, 2016 @ 16:36
    Sam
    0

    How to configure dns to work with umbraco running 2 sites

    Hello all.

    I am trying to implement one Umbraco installation with two sites. I have the content tree set up as:

    Content
    - Home 1
    - Home 2

    for both I have defined a subdomain for the Culture and Host names:

    Home1 = h1.site.com
    Home2 = h2.site.com

    (I have both set up as a subdomain be cause I am currently in a development server)

    I have also updated the config setting:

    <useDomainPrefixes>true</useDomainPrefixes>
    

    It as at this point that I am not sure how to set up the DNS settings so that it will work with Umbraco.

    -Do I set up a CName for the second subdomain?
    -Will it work using 2 subdomains instead of a domain and a subdomain?

    I am not confident with dns settings. Any information will help. Thanks in advance.

  • Sam 79 posts 426 karma points
    Oct 21, 2016 @ 19:14
    Sam
    100

    I seem to have found my answer...

    In my Host settings, I had to create a domain allias/domain pointer. This would allow me to define h2.site.com as the alias and it would point to site.com. once this is done Umbraco will do the rest if the culture and host names are set correctly.

    I noticed, that it would only create an alias to the main domain, but after speaking with hosting support, they said they would have to define one of the subdomains in IIS so the alias could have the option of pointing a sub domain to another subdomain... with a fee.

Please Sign in or register to post replies

Write your reply to:

Draft