After you install ArcGIS Web Adaptor, you must configure it to work with an ArcGIS Server site. You'll 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 and command line utility 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 has been previously configured. To view the platform type and version number of the Web Adaptor, click About on the configuration page.
For full instructions on how to configure the Web Adaptor, see one of the sections below.
Configuring the Web Adaptor from the configuration web page
To configure the Web Adaptor from the configuration web page that was installed with the software, follow the steps below.
- Open the Web Adaptor configuration page in a web browser. The URL is in the following format: https://webadaptorhost.domain.com/webadaptorname/webadaptor.
- Select ArcGIS Server and click Next.
- For ArcGIS Server URL, type the URL to one of the ArcGIS Server machines in your ArcGIS Server site. This URL will be used to discover all of the machines participating in your site and register them with the Web Adaptor. When configuring the Web Adaptor with ArcGIS Server should take the form https://gisserver.domain.com:6443. When configuring the Web Adaptor with ArcGIS Notebook Server, it should take the form https://notebookserver.domain.com:11443.
ArcGIS Notebook Server uses port 11443 instead of port 6443. Use 11443 only when configuring Web Adaptor with ArcGIS Notebook Server.
- Supply a user name and password for an account that has administrative privileges to the ArcGIS Server site. Typically, you'll use the primary site administrator account user name and password you defined when you created the site. If you disabled the primary site administrator account, you'll need to specify an account with administrative access to the site.
- Choose whether users can administer the site through ArcGIS Web Adaptor. By default, administration of the site through ArcGIS Web Adaptor is enabled. The following are some considerations for this option:
- When administration is disabled, external users are blocked from accessing ArcGIS Server Manager and the ArcGIS Server Administrator Directory through ArcGIS Web Adaptor. Also, ArcGIS Desktop users are blocked from establishing administrative or publisher connections to ArcGIS Server. Keep in mind that you can still make user connections from ArcGIS Desktop to ArcGIS Server whether this option is enabled or disabled.
- When administrative access through ArcGIS Web Adaptor is disabled, you can access Manager and the Administrator Directory and connect to the server in ArcGIS Desktop by using a direct URL to one of the ArcGIS Server machines in your site:
- To access Manager, use the URL format https://gisserver.domain.com:6443/arcgis/manager.
- To access the Administrator Directory, use the URL format https://gisserver.domain.com:6443/arcgis/admin.
- To create a server connection in ArcGIS Desktop, use the URL format https://gisserver.domain.com:6443/arcgis.
- If ArcGIS Server is configured with web-tier authentication, you must keep administration enabled through ArcGIS Web Adaptor. This allows users in your enterprise identity store with publisher and administrator privileges to publish services from ArcGIS Desktop. When the users in these roles connect to the server in ArcGIS Desktop, they must specify the ArcGIS Web Adaptor URL.
Administrative access through the Web Adaptor must remain enabled for ArcGIS Notebook Server sites.
- Click Configure to apply your settings to the Web Adaptor.
If the web server where you've installed ArcGIS Web Adaptor is configured to use a forward proxy, disable it while registering the Web Adaptor. Otherwise, you will be unable to access the Web Adaptor configuration page.
When the configuration is successful, you will see a list of ArcGIS Server machines recognized by the Web Adaptor at the bottom of the configuration page (highlighted in green). You can return to this page at any time to see the list of recognized machines and adjust the Web Adaptor's settings.
Configuring the Web Adaptor from the command line
You can configure the Web Adaptor using the command line utility (configurewebadaptor.sh) in <ArcGIS Web Adaptor installation directory>/webadaptor/10.7/java/tools. This is particularly advantageous if the machine hosting the 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> -a <AdminAccessEnabled>
<Mode>—The product mode in which the Web Adaptor will be configured. By default, this parameter is set to server, meaning that the Web Adaptor will be configured for use with ArcGIS Server. If you were configuring the Web Adaptor for use with Portal for ArcGIS, you would specify this parameter as portal.
<WebAdaptorURL>—The URL of the 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. If the Web Adaptor was installed on a port other than the default of 80, you'll need to specify the port in the URL.
<URL>—The URL to one of the ArcGIS Server machines in your ArcGIS Server site. This URL will be used to discover all of the machines participating in your site and register them with the Web Adaptor.
<Username>—The user name of an account that has administrative privileges to the ArcGIS Server site. Typically, you'll use the primary site administrator account you defined when you created the site.
<Password>—The password of an account that has administrative privileges to the ArcGIS Server site. Typically, you'll use the primary site administrator account you defined when you created the site.
<AdminAccessEnabled>—Indicates if ArcGIS Server Manager and the ArcGIS Server Administrator Directory will be available through the Web Adaptor. As a security measure, this parameter is set to false by default. To enable administrative access, set this parameter to true.
Example: $ ./configurewebadaptor.sh -m server -w http://webadaptorhost.domain.com/webadaptorname/webadaptor -g https://gisserver.domain.com:6443 -u siteadmin -p secret -a false
In version 10.2 and earlier, you were required to append /server to the end of the Web Adaptor URL parameter, for example, -w http://webadaptorhost.domain.com/webadaptorname/webadaptor/server. At 10.2.1 and later versions, this is no longer required.
In order to execute the command line utility, the Java Runtime Environment (JRE) must be present on the machine hosting the Web Adaptor. If the JRE is not present on your machine, you'll experience an error when executing the utility. See the Java SE Downloads site for instructions on how to download and install the JRE on your machine.
After configuring the Web Adaptor
Now that your Web Adaptor has been configured for use, there are a few important items you should consider below:
Adding or removing ArcGIS Server machines
If you add or remove ArcGIS Server machines from your site, it takes the Web Adaptor one minute to recognize the changes to your site. If you want the Web Adaptor to immediately recognize the added or removed machines, you can reconfigure it by following the instructions above.
Installing multiple Web Adaptors
You can provide different web entry points into your ArcGIS Server site by installing multiple Web Adaptors. You may be motivated to do this to make your site more highly available to clients, provide support for legacy applications, or allow publishing and administrative access to specific users in a highly secure environment. For more information, see Deployment scenarios.
Multiple Web Adaptors can be installed on the same machine at the same time or the installation can be spread across separate machines. If you want to install multiple Web Adaptors on the same website (port), they need to use different names. For example, two Web Adaptors named arcgis cannot exist on the same website. If you want multiple Web Adaptors with the same name, you'll need to install them on separate websites (ports).
Enabling HTTPS on ArcGIS Server
By default, ArcGIS Server uses HTTP and HTTPS protocols for communication. If you update ArcGIS Server's communication protocol to HTTP only or HTTPS only, it takes the Web Adaptor one minute to recognize the changes to your site.
In version 10.2.1 and earlier, you were required to reconfigure the ArcGIS Web Adaptor after updating the communication protocol of ArcGIS Server. At 10.2.2 and later versions, this is no longer necessary.
To learn more about ArcGIS Server's communication protocol, see Securing ArcGIS Server communication.