Configuring URL Redirection in Exchange 2016

Introduction

Configuring URL redirection in Exchange 2016 is not a mandatory task that you need to perform once you’ve installed and configured your exchange 2016 server. It’s an optional configuration that you can configure to give your end users a facility to load Exchange 2016 OWA login page without remembering a complete URL of web emails. In this blog post we are going to configure Exchange 2016 URL redirection to facilitate our users to load web emails with HTTP protocol.

Once you install the new Cumulative Update to the server, it will revert the IIS configurations to default configuration and your redirection will not work. You have to reconfigure URL redirection in Exchange 2016 after you install CU update.

Configuring URL Redirection in Exchange 2016

We are going to redirect mail.msclou.com to https://mail.cloudtalks.com/owa. Configuring URL Redirection in Exchange 2016 requires you to perform the following steps in IIS.

  • Login to the Exchange Server with administrative privileges
  • Go to IIS Manager -> Default Web Site and select SSL Certificate to modify the settings. Uncheck the “Require SSL” option and click Apply. By default “Require SSL” is checked.

1

 

2

  • Navigate to “Exchange Back End” website in IIS. Select the SSL Certificate and click on edit. Uncheck “Require SSL” option from SSL settings. Click Apply to save the settings. By default “Require SSL” is checked.

3

 

4

  • Once we are done with SSL certificate settings, next step is to modify the “HTTP Redirect” settings. Navigate to “Default Web Site” and select “HTTP Redirect” from right side window and click on Edit
  • Enter the URL of your OWA virtual directory. In my case it’s https://mail.mscloudtalks.com/owa and check the option “Only redirect requests to content in this directory (not subdirectories)” and select the status code of 302 from drop down menu.

5

  • Now, navigate to all other virtual directories in “Default Web Site” and remove the option of “Redirect request to this destination”. This option will be applied to all sub virtual directories as they’re inhering the configuration information from root.
  • Under ECP virtual directory, make sure you modify the SSL setting to check the option of “Require SSL” for security purpose.

6

  • Redo the same for “Exchange Back End” website. Navigate to “Exchange Back End”. Select HTTP Redirect and click on modify and enter the URL https://mail.mscloudtalks.com/owa and select status code 302 from drop down menu. Make sure Only redirect requests to content in this directory (not subdirectories)” checkbox is selected.
  • Now, navigate to all other virtual directories in “Exchange Back End” and remove the option of “Redirect request to this destination”. This option will be applied to all sub virtual directories as they’re inhering the configuration information from root.
  • Under ECP virtual directory, make sure you modify the SSL setting to check the option of “Require SSL” for security purpose.

You need to modify these settings on all client access servers in your organization.

  • Restart the IIS service for changes to take place.

For more information on Exchange 2016, please go through the following blog posts.