Quantcast
Channel: Best way to redirect all HTTP to HTTPS in IIS - Server Fault
Viewing all articles
Browse latest Browse all 3

Best way to redirect all HTTP to HTTPS in IIS

$
0
0

We want ALL sites on our webserver (IIS 10) to enforce SSL (ie redirect HTTP to HTTPS).

We are currently 'Requiring SSL' on each site and setting up a 403 error handler to perform a 302 redirect to the https address for that specific site.

This works great. But it's a pain to do for every single site, there's plenty of room for human error.

Ideally I'd like to set up a permanent 301 redirect on all HTTP://* to HTTPS://*

Is there a simple way to do this in IIS ?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles



Latest Images