iTP Secure WebServer System Administrator's Guide (Version 7.0)
Configuring the iTP Secure WebServer
iTP Secure WebServer System Administrator’s Guide—523346-012
7-44
Implementing Multiple-Host Support
Implementing Multiple Servers
There are two ways to configure multiple servers on the same machine:
•
Using Different Ports
•
Using Different IP Addresses
In either case, you need to run separate instances of the iTP Secure WebServer, each
of which is completely independent of the other. Each has its own installation directory
with configuration file, log files, and content areas specific to that individual server.
Using Different Ports
The easiest way to configure multiple installations of the iTP Secure WebServer on the
same host machine is to assign each server to a different port on which to make
connections with clients. To assign a particular server to a port, specify the Accept
directive with the -port option in that server’s configuration file.
For example, if you are configuring two servers on a host machine named
www.widgets.com, you can assign one server to port 80 (the default port) and the
other to port 8000 using the -port option of the Accept directive:
Accept -transport /G/ZTC0 -port 80
Accept -transport /G/ZTC0 -port 8000
Clients would access these servers through the following URLs:
http://www.widgets.com/
http://www.widgets.com:8000/
The URL for the first server does not require a port number, because this server has
been assigned to the default (80). For further details about the Accept directive, see
Accept on page A-2.
Using Different IP Addresses
Another way to configure multiple servers to run on the same host machine is to assign
each server to a different IP address. Normally, an individual server on a host checks
for connections on every local IP address. However, you can run multiple servers on
the same machine such that each server checks for connections on a different IP
address, as described in Establishing Alias IP Addresses on page 7-44. Implement this
behavior by establishing the IP addresses needed and specifying a different Accept
directive using the -address option in each iTP Secure WebServer configuration file.
Establishing Alias IP Addresses
NonStop TCP/IP enables you to define alias IP addresses (sometimes also called
virtual IP addresses). For brief instructions about how to define such addresses, see
SCF TCP/IP Configuration on page A-10. For detailed information about this and other