This is the message I get when I run Apache:
[Mon Mar 10 08:07:55 2008] [warn] NameVirtualHost www.mydomain.com:80 has no VirtualHosts
The relevant info from httpd.conf is:
It all works fine, and I can access both sites, but I don't quite understand the meaning of the warning message.
What is the best practice for setting up virtual hosts? Should I (and why) use IP addresses in NamVirtualHost directives, etc?