Lab environment:
One Exchange 2013, One Windows 2016 not joined to the domain.
Prepare your server with :
Import-Module ServerManager
PS C:\Users\adminlab> Add-WindowsFeature Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-Net-Ext
,Web-Http-Logging,Web-Request-Monitor,Web-Http-Tracing,Web-Filtering,Web-Stat-Compression,Web-Mgmt-Console,NET-Framework
-Core,NET-Non-HTTP-Activ,NET-HTTP-Activation
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-24-at-15.41.03-1024x204.jpg)
Now install URL Rewrite before install the ARR
From Microsoft : ARR depends on URL Rewrite. Ensure URL Rewrite is installed prior to installing ARR. Alternatively, use the Microsoft Web Platform Installer link instead which installs the ARR and its dependency in the right order.
Otherwise use the “Platform Installer”
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-24-at-15.45.42-1024x703.jpg)
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-24-at-15.49.55-1024x707.jpg)
Now import (export before) your Exchange Certificate and bind to default web site 443
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-24-at-16.17.16-scaled.jpg)
Now create the FARM for your Exchange server:
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-24-at-16.22.58.jpg)
The name that you want
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-24-at-16.23.45-1024x780.jpg)
Type the internal FQDN of your Exchange
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-24-at-16.27.03-1024x781.jpg)
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-24-at-16.27.29-1024x785.jpg)
Select NO (if you click YES, the ARR will create a rewrite URL for you).
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-24-at-16.27.54.jpg)
Go to “server farm” and disable the caching
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-24-at-16.38.00-1024x731.jpg)
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-24-at-16.38.24-1024x644.jpg)
Select routing and disable the SSL Offloading
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-24-at-16.41.39-1024x438.jpg)
Disable ALL
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-31-at-11.10.11-1024x506.jpg)
Select PROXY and set 0 in the “response buffer”
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-31-at-11.10.59-861x1024.jpg)
Now, select the root ISS and go to URL Rewrite
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-24-at-18.18.45-1024x324.jpg)
Create the following rules:
Http_redirect_to_Https => to redirect all the request in HTTP to HTTPS
ARR_Exchange 2013 Server_ECP_block => to block the access to the ECP
ARR_Exchange 2013 Server => to allow access to all other URLs and the Autodiscover
Http_redirect_to_Https
{HTTPS} off
{HTTP_HOST} (mail.labincloudres.com|autodiscover.labincloudres.com)
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-31-at-11.15.23-1024x1008.jpg)
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-31-at-11.17.49-1024x388.jpg)
ARR_Exchange 2013 Server_ECP_block
{HTTPS} on
{HTTP_HOST} (mail.labincloudres.com|autodiscover.labincloudres.com)
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-31-at-11.19.34-1024x1011.jpg)
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-31-at-11.19.58-1024x580.jpg)
ARR_Exchange 2013 Server
{HTTPS} on
{HTTP_HOST} (mail.labincloudres.com|autodiscover.labincloudres.com)
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-31-at-11.22.29-1024x993.jpg)
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-31-at-11.22.45-1024x379.jpg)
test the DNS resolution inside your ARR server
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-25-at-09.49.16-1024x511.jpg)
Finally, go to the server root and edit the request filtering
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-25-at-09.52.38-1024x313.jpg)
Edit Feature settings on the right and change the Maximum allowed content length to 4294967295
![](https://marcoschiavon.net/wp-content/uploads/2020/08/Screenshot-2020-08-31-at-11.24.24.jpg)
That’s it.
Hi,
nice tutorial, for some reason activesync is not working for me, have you test activesync ?
regards
This looks like exactly what I need, thank you so much