1

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.

  • 1
    Your web application itself is most likely making this redirect. Check its settings or source code. – Tero Kilkanen May 12 '18 at 11:10
  • You are right! It was inside the ASP code. I just found it out myself, came back to the site to delete my question and saw your comment. If you want to post it as a reply, I will mark it as an answer. – Arie Livshin May 12 '18 at 11:28
1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.