Friday , January 19 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

Outlook Web App X-OWA-Error ExAssertException

Once installing Exchange 2016 Cu8 on Windows Server 2012 R2 gave error on OWA. ECP ...

17 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

  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.

  9. Yes! Great stuff! Is it OK to share on Reddit? This is
    really great! Keep up the really good work!

  10. I’m amazed, I have to admit. Rarely do I come across a blog that’s equally educative and amusing, and let me tell you,
    you have hit the nail on the head. The issue is something which too few men and women are speaking intelligently about.
    I’m very happy I came across this during my hunt for something regarding this.

Leave a Reply

Your email address will not be published.