A
A
Artem Kiryanov2019-12-26 13:49:43
IIS
Artem Kiryanov, 2019-12-26 13:49:43

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

1 answer(s)
M
maniac_by, 2019-12-26
@hacker342

>Like Linux
>domain in IIS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question