Configuring the /etc/hosts file
Before you begin
On each Content Gateway node, edit the /etc/hosts file to include—ON THE FIRST LINE—the IP address, fully qualified domain name, and hostname of the node.
Steps
Next steps
Confirming the settings:
To display the configured system hostname, on the Linux command line enter:
# hostname
To confirm the IP address that is bound to the hostname, on the Linux command line enter:
# ping hostname
For example:
# ping wcg1.example.com
This should return the IP address in line 1 of /etc/hosts. It should not return 127.0.0.1.
To test the local loopback address, on the Linux command line enter:
# ping localhost
This should return 127.0.0.1
To test if the hostname is resolved by DNS (if it is configured), on the Linux command line enter:
# nslookup hostname
For example:
# nslookup wcg1.example.com
This should return the same IP address as ping.
Note that in some cases it is optional to have the proxy in DNS.