Copied to clipboard

Flag this post as spam?

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


  • Felipe Bossolani 1 post 21 karma points
    Dec 13, 2011 @ 11:03
    Felipe Bossolani
    0

    Multiple Sites - Subdomains - How to Isolate/Restrict

    Hi all, this is my first post so sorry for any error.

    I installed one Umbraco instance in my server (Windows 2008/IIS 7).

    I created 2 websites and 2 Content folder. Lets call SiteABC and SiteXYZ.

    In ABC Content I added abc.mydomain.com attribute and in XYZ Content I added xyz.mydomain.com.

    I changed the web.config file and my IIS configuration and worked fine!

    My problem is:

    If I have a template called XPTO under ABC then I can open it using abc.mydomain.com/XPTO AND using xyz.mydomain.com/XPTO.

    How can I lock it? Is there any way to do this?

    Kind regards,

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Dec 13, 2011 @ 12:32
    Ismail Mayat
    0

    Felipe,

    As far as I am aware there is no way of locking down templates.  When you have multiple sites in one instance the media/settings and developer sections are shared.

    Regards

    Ismail

  • Martin Rud 260 posts 1001 karma points c-trib
    Dec 13, 2011 @ 15:58
    Martin Rud
    0

    Hi Felipe,

    I am not sure if you by "templates" mean pages (content nodes). If you do the problem might occur because you havenĀ“t done these to things

    • set useDomainPrefixes = true. 
    • set Hostnames to each site (though I guess you have done this)

     

    Regards,
    Martin

Please Sign in or register to post replies

Write your reply to:

Draft