MultiHome
Description
Used to specify if multiple servers can be started on a specific
port. By default, only one server can be
processing requests for a single port. When enabling multihome processing,
multiple servers can be processing requests for a single port.
By enabling multihome processing the following types of environments can be
supported:
- Running with 2 servers: a production server and a test server
- Running with 2 servers: an internal server and an external server
- Multiple servers: each server is configured with a different environment
(e.g., home page)
The MultiHome configuration value is only used when
starting the server.
Parameters
- [Enabled]
No
-
Disable multihome processing. Only one server can be started on the configured
port. If a Host is specified then only HTTP requests for the specified Host are
processed. If a Host is not specified then all HTTP requests received on the
port are processed by the server.
Yes
-
Enable multihome processing. This allows multiple servers with
different configurations (e.g., home pages) to be started on a single port.
The Host must be specified when multihome processing is enabled.
Once a server is started with multihome enabled on a specific port,
each additional server started on the port must be multihome enabled
for a different Host (i.e., Host must process a different IP address).
- [Host]
-
Identifies the host for which the server will process HTTP requests.
The host can be identified using a host name (e.g., WWW.INETMI.COM) or IP
address (e.g., 204.146.136.21). The specified host must be a local host
(i.e., an identifier for the AS/400). See the TCP/IP network administrator for
the appropriate value to use.
Default If No Entry Found
MultiHome No
Command To Change This Value
File Syntax
MultiHome [Enabled [Host]]
Only one entry may exist in the
master server configuration file.
If more than one entry is found, the last one will be used.
Example Usage
- Multihome disabled with no host name specified (default)
-
Only one server can be started on the port and the server processes requests
for all host addresses.
- Multihome disabled with a host name of WWW.INETMI.COM (204.146.136.21)
-
Only one server can be started on the port and the server only processes
requests for host address 204.146.136.21 (i.e., host name WWW.INETMI.COM).
- Multihome enabled with a host name of WWW.INETMI.COM (204.146.136.21)
-
Multiple servers can be started on the port and the server only processes
requests for host address 204.146.136.21 (i.e., host name WWW.INETMI.COM). If
the host has been configured with another address (e.g., host name of TEST and
an IP address of 204.146.136.xxy), another server can be started that
processes host address 204.146.136.xxy (i.e., host name TEST).
Also See