Sunday , August 25 2019

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 Office Server and Services MVP , Publisher of Azure365pro.com. Specialized in Office365 / Microsoft Exchange / Virtualization , Sathesh is an Messaging Expert supporting/Designing/Deploying many medium size businesses to large enterprises when it comes to Corporate messaging and Virtualization Infrastructure

Check Also

Save Public IPs using F5 LTM Policies

F5 has different modules and one of them is LTM – Local Traffic Manager . ...

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.