Multi-Homed Server Configuration
A web server that is connected to more than one physical network is called a multi-homed server. Such a server has more than one IP address. If it does, the system needs to know which address it should listen to for incoming server requests. There are two configuration options to handle this:
BindAddress Tells httpd which address should be used for server interactions. The default value is *, which means that the server should respond to web service requests addressed to any of its valid IP addresses. If a specific address is used on the BindAddress command line, only requests addressed to that address are honored. BindAddress is not explicitly set in the Red Hat configuration.
Listen Tells httpd which additional addresses and ports should be monitored for web service requests. Address and port pairs are separated by a colon. For example, to monitor port 8080 on IP address 172.16.64.52, enter 172.16.64.52:8080. If a port is entered with no address, the address of the server is used. If the Listen directive is not used, httpd monitors only the port defined by the Port directive. The Red Hat configuration only uses the Listen directive to provide SSL support. In that case, it sets the standard port to 80, and sets the SSL port to 443.
In this tutorial:
- Apache Web Server
- Installing Apache
- Running httpd
- Configuring the Apache Server
- The httpd.conf File
- Loading Dynamic Shared Objects
- Basic Server Directives
- Multi-Homed Server Configuration
- Defining Where Things Are Stored
- Creating a Fancy Index
- Defining File Types
- Managing Child Processes
- Performance Tuning Directives
- Caching Directives
- Defining Virtual Hosts
- Web Server Security
- The CGI and SSI Threat
- Server Options for Documents and Directories
- Directory-Level Configuration Controls
- Defining Access Controls
- Requiring User Authentication
- High-Performance User Authentication
- Configuring SSL
- Managing Your Web Server
- Monitoring Your Server
- Apache Logging
- Defining Log Formats
- Using Conditional Logging