Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two websites deployed in IIS 7.5 Express. The first website is the PRODUCTION website and the second is the TEST website. In the PRODUCTION website, I added an HTTPS binding and Require SSL so it is normal that it will force to redirect from HTTP to HTTPS. In the TEST website, I didn't add HTTPS binding and the Require SSL is disabled, but I wonder why it still forces to redirect from HTTP to HTTPS. Any idea why this happens?

By the way, the PRODUCTION site uses the main domain (www.maindomain.com) and the TEST site uses only sub-domain (test.maindomain.com).

I don't want the sub-domain to only use HTTP, not HTTPS.

share|improve this question

I think it's either of these two:

  1. You have used a permanent redirect. The browser caches these redirects and does not ask the server again
  2. IIS uses HSTS. The browser remebers that you page should only use HTTPS and switches always.

For both cases, clearing the browser cache should fix the problem.

share|improve this answer
    
I ran into this issue and your answers helped me. Thank you. :) – The Serenin Dec 6 '15 at 14:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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