IP-based virtual hosting is a method to apply different directives based on the IP address and port a request is received on. Most commonly, this is used to serve different websites on different ports or interfaces.
System requirements: As the term IP-based indicates, the server must have a different IP address/port combination for each IP-based virtual host. This can be achieved by the machine having several physical network connections, or by use of virtual interfaces. In the terminology of Apache HTTP Server, using a single IP address but multiple TCP ports, is also IP-based virtual hosting.
In this video, we’ll configure IP-based Apache (HTTPD) virtual host in RHEL 6.X or CentOS 6.x
I hope this video tutorial is helpful for you. If you liked it or found useful, feel free to like or share it.