Most people may know that Apache's name-based virtual host, I don't know how apache can have IP-based virtual hosts. The former's tricks are self-witted, and multiple domains (servers) correspond to an IP address, and the configuration method is:
NamevirtualHost 111.22.33.44
Servername www.sample.com
Documentroot / WWW / Sample
Servername www.sample2.com
Documentroot / WWW / Sample2
However, in some environments where some IP addresses are abundant, but we may want to resolve multiple domain names to the same machine, its configuration method is:
Servername www.smallco.com
DocumentRoot / Groups / Smallco / WWW
ServerName www.baygroup.org
DocumentRoot / Groups / BayGroup / WWW
Under this method, the machine is required to configure multiple IP addresses.