When you want to create a HTTP / HTTPS redirection, you need to achieve 2 goals:
Enable SSL redirection to the OWA virtual directory on the “Default Web Site.”
Disable the SSL requirement on the “Default Web Site.”
Enable SSL redirection to the OWA virtual directory on the “Default Web Site.”
- Start IIS 7 Manager.
- Expand the server, expand Sites and select the Default Web Site.
- Double-click HTTP Redirect.
- Select the Redirect requests to this destination check box, and then enter /owa.
- Select the Only redirect requests to content in this directory (not subdirectories)check box.
- Select Found (302) from the Status code drop-down list.
- Click Apply to save the settings.
Note The changes that you made to the Default Web Site will propagate down to the virtual directories for that site.
- Expand the Default Web Site.
- Select the aspnet_client virtual directory.
- Double-click HTTPRedirect.
- Clear the check box for Redirect requests to this destination.
- Click Apply to save the settings.
- Repeat steps 9-12 for the following virtual directories:
Autodiscover
Ecp
EWS
Microsoft-Server-ActiveSync
OAB
Owa
PowerShell
PowerShell-Proxy
Rpc
Disable the SSL requirement on the “Default Web Site.”
To disable the SSL requirement on the “Default Web Site,” follow these steps:
- Start IIS 7 Manager.
- Expand the server, expand Sites and select the Default Web Site.
- Double-click SSL Settings.
- Clear the check box for Require SSL.
- Click Apply to save the settings.
Note The changes that you made to the Default Web Site will propagate down to the virtual directories for that site.
- Expand the Default Web Site.
- Select the Autodiscover virtual directory.
- Double-click SSL Settings.
- Select the Require SSL check box.
- Click Apply to save the settings.
- Repeat steps 7-10 for the following virtual directories:
Ecp
EWS
Exchange
Exchweb
Microsoft-Server-ActiveSync
OAB
Owa
Public
Rpc
Last step : reset the default Web
Site
(Sometimes you need to reset IIS : in cmd : IIRESET )
Sometimes after these changes, redirection still does not work => change the Error Pages
Don’t use this solution on SBS servers !!!!
If this doesn’t resolve your problem then change the following :
Click on OWA and select Error Pages
Click on Add
Add the Status code, from your error page (see above) => 403.4
And add the correct URL from your OWA directory
When all settings are correct reset IIS to make it work !
In cmd => IISRESET
http://mail.domain.com/owa => https://mail.domain.com/owa
http://mail.domain.com => https://mail.domain.com/owa