Skip To Content

Configure ArcGIS Web Adaptor

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 ArcGIS Web Adaptor. As a security measure, you can only access the configuration page from the machine hosting ArcGIS Web Adaptor.

When you open the configuration page, the current status of ArcGIS Web Adaptor is displayed. This indicates if ArcGIS Web Adaptor was previously configured. To view the platform type and version number of ArcGIS 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 configuration page or the portal website. For full instructions, see Unregistering ArcGIS Web Adaptor with Portal for ArcGIS.

Caution:

Although you can modify a portal's Web Adaptor by registering a new one, be aware that doing so may also impact user content within the portal (e.g. map notes or other items).

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

Configure 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 HTTPS on your web server.
  2. Open the configuration page in a web browser using an HTTPS URL such as https://webadaptorhost.domain.com/webadaptorname/webadaptor.

    If a DNS Alias will be used with the portal, the Web Adaptor should be configured over the DNS Alias instead, using a URL such as https://<dnsalias.domain.com>/<webadaptorname>/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 ArcGIS Web Adaptor URL, instead of port 7443. The URL is in the following format: https://webadaptorhost.domain.com/webadaptorname/home.

If you configured your portal to use HTTPS 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 installation directory>\WebAdaptor\<current version>\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 configuration page in a web browser. You're required to specify the HTTPS URL of ArcGIS Web Adaptor, for example, https://webadaptorhost.domain.com/webadaptorname/webadaptor. If a DNS Alias will be used with the portal, the Web Adaptor should be configured over the DNS Alias instead, using a URL such as https://<dnsalias.domain.com>/<webadaptorname>/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://webadaptorhost.domain.com/webadaptorname/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 ArcGIS Web Adaptor URL, instead of port 7443. The URL is in the following format: https://webadaptorhost.domain.com/webadaptorname/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.