Redirect http to https on iis server with multiple sites on custom ports -


so have scenario have iis server test server , houses 15+ different web apps. problem have found though because setting our deployments (via octopus deploy) use https cert on server if try access sites without explicit https:// prefix hangs not listening http traffic https on bindings.

most solutions assume using normal 443 port our sites use custom ports someserver:1234 there seems little info on how enable http these scenarios. ideally want same port listen http , https , redirect http https, cannot find nice way solve without making 2 ports per site, , mean http on existing someserver:1234 , https on `someserver:98761 or former redirecting latter, feels bit clunky.

so there better way solve problem?


Comments