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.
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.
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.
- If you haven't done so already, enable HTTPS on port 443 of your web server. To learn more, see Enable HTTPS on your web server.
- Open the configuration page in a web browser using an HTTPS URL such as https://webadaptor.domain.com/arcgis/webadaptor.
- Select Portal for ArcGIS, and click Next.
- 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.
- 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.
- Click Configure.
ArcGIS Web Adaptor is configured for use with the machine hosting Portal for ArcGIS. Now, you'll access your portal through ArcGIS 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 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.sh) in <ArcGIS Web Adaptor installation directory>/webadaptor10.4.1/java/tools. This is particularly advantageous if the machine hosting ArcGIS Web Adaptor does not have a graphical user interface (GUI).
The available parameters are as follows:
configurewebadaptor.sh -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://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.sh -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 ArcGIS 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.