Redirect Http To Https Owa

Filed: Java Script Page Redirect @ Fri, 30 Jul 2010 01:10:25 +0100





Hi Using Exchange 2007. How can I redirect http://webmail.domain.com/ to http://webmail.mydomain.net and not break any Exchange services that are published ( OA, ActiveSync or OWA) ? We are changing our domain and want those users who still use the old url to use the new url. In ISA 2006 A SSL web listener that has the certificate for webmail.mydomain.net assigned. This is a SAN cert. Exchange server also has this cert. I have a deny rule that redirects http://webmail.domain.com to https://webmail.domain.com/owa. Can I use the deny rule to redirect to https://webmail.mydomain.net/ and not get a certificate error? Or any other suggestions? Thanks

There is a way to redirect the owa in Exchange 2010 from https://mail.domainname.com/owa to https://mail.domainname.com/ and this is not managed by powershell but in IIS.

I will show you how:

1- select the Default Web Site in IIS Manager, and open the HTTP Redirect option under IIS

2- Enable “Redirect requests to this destination” enter the webmail string incl /owa and IMPORTANT enable “only redirect request to contentin this directory (no subdirectorie)” see screenshot

3-Once this step is complete, you need to remove the enforced redirect from each of the virtual directories under the Default Web Site. To do this, select each virtual directory individually, and then open the HTTP Redirect property and uncheck the “Redirect requests to this destination” checkbox. You’ll need to do this on the following virtual directories:

  • aspnet_client
  • Autodiscover
  • ecp
  • EWS
  • Microsoft-Server-ActiveSync
  • OAB
  • PowerShell
  • Rpc

Note: The Exchange, Exchweb, and Public virtual directories should redirect to /owa.

4- Select the Default Web Site and open the SSL Settings properties. Uncheck the Require SSL checkbox as shown below: