BindAddress


Syntax: BindAddress saddr
Default: BindAddress *
Context: server config
Status: core

A Unix® http server can either listen for connections to every IP address of the server machine, or just one IP address of the server machine. Saddr can be

If the value is *, then the server will listen for connections on every IP address, otherwise it will only listen on the IP address specified.

Only one BindAddress directive can be used. For more control over which address and ports Apache listens to, use the Listen directive instead of BindAddress.

BindAddress can be used as an alternative method for supporting virtual hosts using multiple independent servers, instead of using <VirtualHost> sections.

See Also: DNS Issues
See Also: Setting which addresses and ports Apache uses