I'm currently trying to implement a HTTP to HTTPS redirect for OWA within our Exchange 2013 Environment.
We currently have two full virtual Exchange servers (MB and CAS) running in a DAG. I will call them SRV1 and SRV2 for arguments sake.
We have a firewall with a load balancer in place that directs traffic to SRV2 first and if SRV2 is not available it will redirect to SRV1. The load balancer has its own IP and we have a DNS A record that resolves to the load balancer IP. However both SRV1 and SRV2 are accessible via HTTPS directly from the outside via a static IP for each server.
What we would like is when a user types in mail.mydomain.com in their web browser they are autmatically redirected to the HTTPS site.
I have used the following guide:
But it does not appear to be working after an IIS reset, either when I use the load balancer IP or when I try to to access SRV1 or SRV2 directly. I have set up Error page rules for 403.4, and 403 codes that should redirect to https://mail.mydomain.com/owa but these are not working.
Any help would be appreciated.