# Specifying a CAS Server host for Record Store output

The `host` element defines the hostname and port information of the machine running the CAS Server.

To specify a CAS Server host:

1. Open the AppConfig.xml file in a text editor.
2. Locate the Servers/hosts section and do the following:
   1. Add a `host` element and specify an `id` attribute for the machine running the CAS Server.
   2. Specify a `hostname` attribute for the machine name running the EAC Agent.
   3. Specify a `port` attribute specifies the port on which the EAC Agent is listening. This is the Endeca HTTP Service port on that server (`8888` in the example).
   For example:

       <host id="CASHost" hostName="machinename" port="8888" />