Saturday , March 23 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 Exchange Server MVP , Publisher of CareExchange.in
Supporting/Deploying/Designing Microsoft Exchange for some years.
Extensive experience on Microsoft Technologies.

Check Also

Could not find any global catalog while Exchange server removal

Couldn’t remove a Disaster Recovery site exchange server. Where no active directory servers exist. Which ...

18 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.

  9. Go?d info. Lucky me I discovered y?ur site ?y chance
    (stumbleupon). ?’ve book marked it f?r l?ter!

  10. Ask?ng questions are genuinely nice thing if ?ou are not understanding anyth?ng ent?rely, ho?ever th?? article ?rovides nice understanding ?ven.

  11. ?hen I originally commented ? clicked the “Notify me when new comments are added” checkbox and
    now e?ch tim? a ?omment ?s added I get t?ree
    e-mails ?ith th? same comm?nt. ?s ther? any way you can remove
    people from t?at service? Thanks!

Leave a Reply

Your email address will not be published.