Our server is configured with 2 IP addresses, and we run virtual hosts on both. Some hosts are served on the first IP and others on the second. None are supposed to use both, and we specifically assign one IP address when creating a new virtual host.
Even though everything runs as expected, we get the following error for every virtualhost when apache2 is started:
"[error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results"
The .conf file for each host has been created with the following virtualhost directive by virtualmin:
i manually changed the .conf file of just a single virtual host (lets call it host A) so that instead of * i had the actual IP address. Then the website of host A still worked but trying to browse to the website of any other other host always served up the website of host A.
I'd like to have apache2 correctly configured so that we dont get the warnings. Can you suggest what needs to be done? how can vmin be setup so that it automatically configures apache2 correctly.
Thanks!