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 a app that runs on the web server that needs to post back to a site. It will only work locally over http. Now all requests are set to redirect to https if http is used. Is there any way to allow only local requests to use http while still redirecting all other http requests to the https site?

Im using a custom error page on 403.4 errors to redirect users currently.

share|improve this question
up vote 0 down vote accepted

Use the IIS Url Rewrite module and write whatever rules you need to support the scenarios you want to setup.

share|improve this answer

Your Answer


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.