Copied to clipboard

Flag this post as spam?

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


  • Rasmus Fjord 675 posts 1566 karma points c-trib
    May 18, 2015 @ 13:17
    Rasmus Fjord
    0

    1 solution, multiple sites, https on one

    Hey there 

    I just got handed the rains on a few sites, its 1 solution with multiple sites running. One of the sites needs an ssl certification(https), is this possible to do. Can only see solutions where https will be enableded for the whole solution.

  • Dan Lister 416 posts 1974 karma points c-trib
    May 19, 2015 @ 09:39
    Dan Lister
    0

    Hi Rasmus,

    I see no reason why you can't run both HTTP and HTTPS connections on your Umbraco installation. You should be able to add bindings for both via IIS. You could take it one step further and have a property on each site within your installation which forces HTTPS connections for that site.

    Hope that helps.

    Thanks, Dan.

  • Rasmus Fjord 675 posts 1566 karma points c-trib
    May 19, 2015 @ 09:46
    Rasmus Fjord
    0

    Ey Dan 

    Thx for getting back to me :) 

    But i cannot enable SSL in the webconfig(umbraco settings) right? because it forces all to go HTTPS? 

    So what your saying is if i control it through the IIS, and maybe make a rule in the urlrewriting for the the single domain to force all to https that should work?

  • Dan Lister 416 posts 1974 karma points c-trib
    May 19, 2015 @ 09:48
    Dan Lister
    0

    Hi Rasmus,

    If I remember correctly, the umbracoUseSSL app setting only forces the back office to use HTTPS. Your websites will stay the same hence why a property on each site to force HTTPS might be a good idea or create a url rewrite rule as you mention.

    Thanks, Dan.

  • Jesper Ordrup 1019 posts 1528 karma points MVP
    May 22, 2015 @ 09:09
    Jesper Ordrup
    0

    Hi Rasmus,

    How about doing it manually? I do a small razor thing that does the following:

    • Is https relevant for this hostname/content?
    • Yes? But are we running https (uri.Scheme)
    • Yes, fine, no Permanent redirect

    Another approach - enable https on all sites. Google loves that. Free SSL using www.cloudflare.com - and a bunch of other cool things.

    best Jesper

Please Sign in or register to post replies

Write your reply to:

Draft