Answer the question
In order to leave comments, you need to log in
Redirect to HTTPS only for a domain in IIS?
Good afternoon.
I'm trying to set up a redirect from http to https for a domain in IIS.
Local users access the resource by IP address, and external users by domain.
I need for users who enter an IP address - there was no redirect from http, but for those who enter a domain name - a redirect occurred to https. Can you tell me how to set up a rule?
Added 3 types in bindings:
Type, hostname, port,
http | domain.com | 80 | 192.168.111.11https
| domain.com | 443 | 192.168.111.11
http | empty value |80 | *
192.168.111.11 - local IP
OS: Windows Server 2016
IIS: 10.0
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question