How To: Set up a reverse proxy with ArcGIS 10.1 for Server on IIS ARR


The instructions provided describe how to set up a reverse proxy with ArcGIS 10.1 for Server on Internet Information Services (IIS) Application Request Routing (ARR) without SSL.

For guidance on integrating SSL with this architecture, see
How To: Set up a reverse proxy with ArcGIS 10.1 for Server on IIS ARR with SSL


The following architecture is described in this document:
[O-Image] Architecture

Step 1 - ArcGIS Server Site Setup

[O-Image] ArcGIS Server Site Setup
A. Install ArcGIS 10.1 for Server SP1 and create the site.

For guidance on installing ArcGIS Server 10.1, see
How To: ArcGIS for Server Installation

• Example server hostname: AGSHOST

B. Install and configure ArcGIS Web Adaptor 10.1 SP1.

For guidance on installing ArcGIS Server 10.1, see
How To: Installing the ArcGIS Web Adaptor (IIS)

• Example ArcGIS Web Adaptor hostname: WAHOST
• Example Web Adaptor context path: WAPATH
• Example GIS server URL: http://AGSHOST:6080

Step 2 - Deploy IIS ARR

[O-Image] [O] Deploy IIS ARR
A. Install IIS 7.5.

For guidance on installing IIS 7.5 see Microsoft's
Installing IIS 7 on Windows Server 2008 or Windows Server 2008 R2

B. Install IIS Application Request Routing (ARR).

Step 3 - Configure IIS ARR

[O-Image] [O] Deploy IIS ARR
A. Open IIS Manager.

B. Right-click Server Farms and select 'Create Server Farm'.
[O-Image] IIS Manager
C. Complete the Create Server Farm wizard.
• Example farm name: AGSFARM (This value is arbitrary.)

D. Add server addresses.
• Example server address: WAHOST.DOMAIN.COM (This must match the FQDN of the web adaptor host.)

Step 4 - Define ARR Routing Rules

[O-Image] [O] Deploy IIS ARR
A. In IIS Manager under Server Farms and the newly created server farm, open Routing Rules. Reboot the server if the options shown below are unavailable.
[O-Image] Server Farm Routing Rules
B. From the Advanced Routing Menu on the right-hand side, click URL Rewrite.

C. Select and disable all inbound and outbound rules.

D. In the Actions menu, select Add Rule(s) > Inbound Rules > Blank Rule.

E. In Edit Inbound Rule, complete the form as described below.

• Name: AGSRTRULE (This value is arbitrary.)

Match URL
• Requested URL: Matches the Pattern
• Using: Wildcards
• Check 'Ignore case'

No values here.

Server Variables
No values here.

• Action Type: Route to Server Farm
• Action Properties - Scheme: http://
• Action Properties - Server farm: AGSFARM (This value must match the farm name created in Step 3.)
• Action Properties - Path: /{R:0}
• Check 'Stop processing of subsequent rules'
[O-Image] Edit Inbound Rule

Step 5 - Set Up the WebContextURL Property

[O-Image] Step 5

A. Open http://localhost:6080/arcgis/admin/system/properties/update.

B. Add the value below:


C. Save and close.


Though there may be other methods of employing IIS/ARR as a reverse proxy/load balancer for ArcGIS 10.1 for Server, this is the method Esri Support provides guidance for and uses to test reported bugs. Customers seeking help using alternative methods of deploying IIS/ARR with ArcGIS for Server will be instructed to use this workflow and/or be directed to Esri Professional Services for a more tailored/customized deployment architecture.