What is Apache Virtual Host? A virtual host allows you to run more than one website or rather multiple websites from a single machine/physical server or virtual private server. There are 2 types of virtual hosting on Apache IP-based Virtual Hosting This is where every individual website on the Apache server uses a different unique IP address. It is a method to apply different directives based on the IP address and port a request is received on. It is commonly used to serve different websites on different ports or interfaces. Using a single IP address but multiple TCP ports is also called IP-based virtual hosting. It uses the IP address of the connection to determine the correct virtual host to serve. Therefore you need to have a separate IP address for each host. Name-based Virtual Hosting Many different hosts can share the same IP address. It is simpler than IP-based hosting since you only need to configure the DNS server to map each hostname to the correct IP address a
All about data