Tuesday, October 23, 2018

Something redirects from HTTPS to HTTP and it is NOT our IIS server



I need to "move" a company site from HTTP to HTTPS on IIS 7.5. I added the HTTPS Binding in IIS. However, any time I try to browse the site with "https://www.example.com" I am being redirected to "http://www.example.com/default.asp".



The problem is that I cannot find where this redirect/rewrite is defined, it is neither in web.config or applicationhost.config.



Where else can this redirect be defined?

Is there a way for me to check somehow what is responsible for this redirect? I have full permissions on the IIS server machine.


Answer



Your web application itself is most likely making this redirect. Check its settings or source code.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...