Creating multiple instances of IBM HTTP Server on Windows operating systems
On Windows operating systems, you can manually create more service names to create multiple instances of IBM® HTTP Server.
When you install IBM HTTP Server, you create one IBM HTTP Server as a Windows service with a default name. If you need to run with more than one IBM HTTP Server instance, you can manually create more service names.
About this task
Install a new service name.
Use the httpd.exe program, which is located in the bin directory of the IBM HTTP Server installation. Use the following command to install a new service name:
This command allows you to associate a unique configuration file with each service name.
httpd -k install -n <new_service_name> -f <path_to_new_configuration_file>
- Specify different IP addresses or ports in the Listen directives of each configuration file and specify different log file names.
Change settings of the new service by using the Windows Services control
The new service name has
Log Onset to
Local System Account, and has
Startup Typeset to
Automatic. You can change these default settings by using the Windows Services control panel. You might need to change the
Log Onsetting of the new service name to match the
Log Onof the main installation to ensure that file permissions allow the new service name to run.
Disable the Fast Response Cache Accelerator (FRCA).
When you run multiple instances of IBM HTTP Server, disable the FRCA (AFPA directives) in all configuration files.
After you create a service name, create a web server definition and specify the new service name and the path to the new configuration file to add it to the WebSphere® Application Server administrative console.
What to do next
Use the following syntax to uninstall an existing service:
httpd -k uninstall -n <service_name>