Configuring IBM Rational Change to use the hostname instead of the IP address

Technote (FAQ)

Question

How can you configure IBM Rational Change to use the hostname instead of the IP address?

Cause

User may want to use the IP address or hostname in a URL to access Change.

Answer

IBM Rational Change can be configured to use IP addresses, fully qualified domain names, or relative paths when generating URL's. This feature has been added for situations where using the hostname alone may cause problems with name resolution. For example, if the server name is "matrix ", the standard URL would begin with: http://matrix:8600/servlet

WARNING: Switching between hostname and IP address for IBM Rational Change URLs invalidates all existing cookies used by the server. Users must delete cookies after this setting is changed to ensure that transitions and reports will work properly.

Details

In order to configure IBM Rational Change to use a hostname rather than an IP address, the following lines must be added to the pt.cfg file for all versions of Change.

The pt.cfgfile is located at: \cs_app\webapps\synergy\WEB_INF\wsconfig\pt.cfg

# This setting specifies how CS should generate its links. (absolute or relative)