2.3.10 <VirtualHost>
<VirtualHost> defines directives that are applied only for a specific host or IP address.
Description
<VirtualHost> defines directives that are applied only for requests sent to the host specified in host_name or in IP_address[:port_number].
Note that you can also specify a host name that corresponds to an IPv6 address. When specifying an IPv6 address for the IP address, enclose the IPv6 address in [ ].
Syntax
<VirtualHost {host_name|IP_address[:port_number]} [{host_name|IP_address[:port_number]} ...]> directive [directive ...] </VirtualHost>
Location where it can be written
httpsd.conf
Example
<VirtualHost 172.17.40.30:80> : </VirtualHost> <VirtualHost [2001::123:4567:89ab:cdef]:80> : </VirtualHost>