Skip To Content

Configuring ArcGIS Web Adaptor

In this topic

After you install ArcGIS Web Adaptor, you must configure it to work with Portal for ArcGIS. You do this from a configuration web page or from a command line utility that was installed with the Web Adaptor. As a security measure, you can only access the configuration page from the machine hosting the Web Adaptor.

When you open the configuration page, the current status of the Web Adaptor is displayed. This indicates if the Web Adaptor was previously configured. To view the platform type and version number of the Web Adaptor, click About on the configuration page.

If you already configured a Web Adaptor with Portal for ArcGIS and want to update your portal to use a different Web Adaptor, you first need to unregister the current Web Adaptor. You can only do this through the ArcGIS Portal Directory; the unregister functionality is not available from the Web Adaptor configuration page or the portal website. For full instructions, see Unregistering ArcGIS Web Adaptor with Portal for ArcGIS.

For full instructions on how to configure ArcGIS Web Adaptor, follow the steps below.

Note:

Before proceeding, ensure ArcGIS Web Adaptor is installed on a website running on port 80. ArcGIS Web Adaptor cannot be configured with Portal for ArcGIS if it is installed on a website running on a port other than 80.

Configuring ArcGIS Web Adaptor from the configuration web page

To configure ArcGIS Web Adaptor from the configuration web page that was installed with the software, follow the steps below.

  1. If you haven't done so already, enable SSL on port 443 of your web server. To learn more, see Enabling SSL on your web server.
  2. Open the Web Adaptor configuration page in a web browser using an HTTPS URL such as https://webadaptor.domain.com/arcgis/webadaptor.
  3. Select Portal for ArcGIS, and click Next.
  4. For Portal URL, type the URL to the machine hosting Portal for ArcGIS. Include the fully qualified domain name of the machine in the URL, for example, https://portal.domain.com:7443.
  5. Supply a user name and password for an account that has administrative privileges to Portal for ArcGIS. Typically, you'll use the initial administrator account user name and password you defined when you first set up your portal. If you demoted or deleted the initial administrator account, you'll need to specify an account with administrative access to the portal website.
  6. Click Configure.

ArcGIS Web Adaptor is configured for use with the machine hosting Portal for ArcGIS. Now, you'll access your portal through the Web Adaptor URL, instead of port 7443. The URL is in the following format: https://webadaptor.domain.com/arcgis/home.

If you configured your portal to use SSL for all communication, update the installed portal website and help shortcut URLs to use https instead of http; otherwise, you'll see failures in your browser when attempting to access the original shortcut URLs.

If you're configuring Portal for ArcGIS with your organization's reverse proxy server, you need to provide some information to your portal about the proxy server. For full instructions, see Configuring a reverse proxy server with your portal.

Configure ArcGIS Web Adaptor from the command line

You can configure ArcGIS Web Adaptor using the command line utility (ConfigureWebAdaptor.bat) in <ArcGIS Web Adaptor (Java Platform) installation directory>\WebAdaptor10.3.1\java\tools.

The available parameters are as follows:

ConfigureWebAdaptor.bat -m <Mode> -w <WebAdaptorURL> -g <URL> -u <Username> -p <Password>

Note:

To execute the command line utility, the Java Runtime Environment (JRE) must be present on the machine hosting ArcGIS Web Adaptor. If the JRE is not present on your machine, an error will occur when executing the utility. See the Java SE Downloads site for instructions on how to download and install the JRE on your machine.

  • <Mode>—Product mode in which ArcGIS Web Adaptor will be configured. By default, this parameter is set to server, meaning that ArcGIS Web Adaptor will be configured for use with ArcGIS Server. Since you're configuring ArcGIS Web Adaptor for use with Portal for ArcGIS, specify this parameter as portal.

  • <WebAdaptorURL>—URL of ArcGIS Web Adaptor that you want to configure from the command line. This is the same URL that would be used if you were accessing the Web Adaptor's configuration page in a web browser. You're required to specify the HTTPS URL of ArcGIS Web Adaptor, for example, https://webadaptor.domain.com/arcgis/webadaptor.

  • <URL>—URL of the machine hosting Portal for ArcGIS. Include the fully qualified domain name of the machine in the URL, for example, https://portal.domain.com:7443.

  • <Username>—User name of an account that has administrative privileges to Portal for ArcGIS. Typically, you'll use the initial administrator account you defined when you first set up your portal.

  • <Password>—Password of an account that has administrative privileges to Portal for ArcGIS. Typically, you'll use the initial administrator account you defined when you first set up your portal.

Example: ConfigureWebAdaptor.bat -m portal -w https://webadaptor.domain.com/arcgis/webadaptor -g https://portal.domain.com:7443 -u initialadmin -p secret

After executing the command, ArcGIS Web Adaptor is configured for use with the machine hosting Portal for ArcGIS. Now, you'll access your portal through the Web Adaptor URL, instead of port 7443. The URL is in the following format: https://webadaptor.domain.com/arcgis/home.

If you're configuring Portal for ArcGIS with your organization's proxy server, you need to provide some information to your portal about the proxy server. For full instructions, see Configuring a proxy server with your portal.