Configure IP based Apache Virtual Host on RHEL 6.x or CentOS 6.x
Applies to: RHEL 6.x, CentOS 6.x, Apache HTTP Server 2.2 Legacy guide: This article was originally written for RHEL 6 and CentOS 6. CentOS Linux 6 reached end of life on November 30, 2020 and no longer receives security updates. Use a currently supported Linux distribution for new deployments. IP-based virtual hosting allows Apache HTTP Server to select a virtual host according to the IP address and port on which a request is received. Each virtual host therefore uses a different IP address, port, or IP/port combination. For most modern websites, name-based virtual hosting is more convenient because multiple sites can share the same IP address. IP-based virtual hosting is still useful when separate addresses or interfaces are specifically required. Example Environment Server: RHEL 6.x or CentOS 6.x Apache service:…