Saturday , May 26 2018

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

Exchange Server 2016 CU9 Outlook Web Access ArgumentException

Outlook Web Access broken – The Message Can’t be sent right now. Please Try again ...

15 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. ley sobre cerramiento de terrazas

    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

    • Satheshwaran Manoharan

      Seeing your domain . You should not be using that method. Use re directory in a load balancer or on your reverse proxy solution

  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

  8. We are a gaggle of volunteers and starting a new scheme in our community.
    Your website provided us with useful info to work on.
    You’ve performed a formidable activity and our entire community shall be grateful to you.

Leave a Reply

Your email address will not be published.