Linux

Updating web server configurations in a cloned environment

After you change the host name of your web servers, you need to update the httpd.conf files with the new host names.

Procedure

  1. Update each WebSphere Commerce server's httpd.conf file:
    1. Open the WC_installdir/instances/instance_name/httpconf/httpd.conf file for each instance.
    2. Replace all occurrences of the old host name with the new host name.
    3. Replace all occurrences of the old node name with the new node name.
    4. Save your changes.
  2. Update each WebSphere Commerce search server's httpd.conf file:
    1. Open the WC_installdir/instances/instance_name/search/solr/home/httpconf/httpd.conf file for each instance.
    2. Replace all occurrences of the old host name with the new host name.
    3. Replace all occurrences of the old node name with the new node name.
    4. Save your changes.
You might need to update the configuration files for the default IBM HTTP servers.
  1. Review the HTTPServer_installdir/conf/httpd.conf and HTTPServer_installdir/conf/admin.conf files.
  2. Replace all occurrences of the old host name with the new host name if necessary.
  3. Replace all occurrences of the old node name with the new node name if necessary.