Summary
Instructions provided describe how to reconfigure ArcGIS Server for the Microsoft .NET Framework after the host name of the computer has been changed.
Note:
For ArcGIS Server Java installations on Unix and Windows, a re-install of the software is required when the server host name has been changed.
Procedure
- Change the host name of the computer.
- Restart the computer.
- Run the 'Web Applications Post Install' from Start > Programs > ArcGIS > ArcGIS Server for the Microsoft .NET Framework > Web Applications Post Install.
- Ensure the new host name is entered in the 'GIS Server' text box.
- Click Next.
- Click 'Existing Local or Domain Account'. Change the host name to the new host name as shown below, if necessary.
If the password is not automatically populated, be sure to enter the valid password for the ArcGISWebServices account.
- Click Next.
- Click Next.
- Click Finish.
- Restart the 'IIS Admin Service' Windows Service.
- Restart the 'ArcGIS Server Object Manager' Windows Service.
- Log in to ArcGIS Server Manager.
- Click the 'GIS Server' tab.
- Click 'Add Host Machine'.
- In the 'Name' field, enter the new host name of the machine.
- Click the 'Update' icon, which is the icon with the check mark in the green circle.
- Click the 'Services' tab.
- Click the '+' beside each existing service to ensure they preview.
Note:
If the services do not preview, click the Edit button (pencil icon) for the service. Click 'Parameters' on the left. Using the 'Map Document:' drop-down menu, select the correct .mxd file listed under the new machine name. When done, click Save. Select the service and click Start. This procedure needs to be done for each service.
- When all the services are modified and previewing correctly, close ArcGIS Server Manager.
- Open the following file in a text editor, such as Notepad.
C:\Inetpub\wwwroot\ArcGIS\Manager\Applications\App_Data\Sites.xml
Note:
This location maybe different if IIS is setup in a non-default location.
- In each Web application configuration block, modify the <Host> and <Author> lines to match the new host name. Below is an example of the text showing where the new host name needs to be entered.
Code:
<Site>
<Name>Sample</Name>
<Host>new_hostname</Host>
<Path>c:\inetpub\wwwroot\Sample</Path>
<Author>new_hostname\ArcGISAdmin</Author>
<LastModified>2008-03-06T11:55:14.1895136-08:00</LastModified>
<Description />
</Site>
- Save and close the Site.xml file.
- Log in to ArcGIS Server Manager.
- Click the 'Applications' tab.
- Click the '+' beside each existing service.
- The Web application(s) need to be associated with the new services. To associate the Web application(s) with a new service, following the steps below:
A. Click the Edit button (pencil icon) for the Web application.
B. Click the 'Layers' option on the left.
C. In the 'Available Services:' text box, remove the old connection.
D. Click the 'Add GIS Server' button and select the proper connection type, for example, ArcGIS Server Local.
E. Enter the new host name of the machine in the 'Host:' text box.
F. Click the 'Add Server' button.
G. Remove any services, referencing the old host name, listed on the 'Selected Services:' pane.
H. Expand the new connection and select the appropriate service(s).
I. Click the Add.
J. Click Finish.
Note:
This procedure needs to be done for each Web application.