Thursday , August 17 2017

How to Setup HTTP to HTTPS redirection in IIS 8 – Windows Server 2012,Exchange 2013

I had to redirect http to Https in Exchange 2013 OWA

 

Open IIS, Right Click – Explore

image

 

Take a Backup of web.config file

image

add the below content between –

</location>

Add Content in this space

</configuration>

 

image

And Paste it with –

<system.webServer>
    <httpErrors>
    <error statusCode="403" subStatusCode="4" path="https://mail.careexchange.in/owa" responseMode="Redirect" />
    </httpErrors>   
  </system.webServer>

 

Now it should redirect all http to Https . Where the URL has been defined above

 

Smile

About Satheshwaran Manoharan

Satheshwaran Manoharan is an Microsoft Exchange Server MVP , Publisher of CareExchange.in Supporting/Deploying/Designing Microsoft Exchange for some years. Extensive experience on Microsoft Technologies.

Check Also

Administrative Limit for this request was exceeded

Deleting Object from Active Directory Error Windows cannot delete object because : The Administrative limit ...

14 comments

  1. This doesn’t work, when I set it up as you describe, I get errors in IIS telling me my web.config file is damaged…

  2. Do I just need to add in the extra at the beginning and of end of your code? I am running 2013 CU2 and this is the default….

  3. Los sistemas de cerramientos de aluminio correderos son los más sencillos y económicos, muy
    utilizados en terrazas, balcones y tendederos.

  4. Hi there, after reading this awesome post i am also glad to share my knowledge here with mates.

  5. Thanks for a marvelous posting! I really enjoyed reading it, you are a
    great author. I will make sure to bookmark your
    blog and may come back someday. I want to encourage
    continue your great writing, have a nice day!

  6. This is not working for me. I have done all the changes mentioned above

  7. For some cases that you dont want to change web.config I gues URL rewrite is a good way:
    https://www.day.ir/en-us/articles/ssl/redirect-http-https

Leave a Reply

Your email address will not be published.