http://blog.csdn.net/kaizhu_qin/article/details/17506293
Many of the first time to configure the Apache virtual host, the configuration of the first virtual host after the completion of the future, there will be no problem.
When you configure the first virtual host, you may encounter the following problems when you restart Apache:
[Warn] _default_ VirtualHost overlap on port, the first has precedence
Because the first virtual host configuration already occupies 80 ports, the configuration of the first virtual host is inherited. So no matter your second, or the nth virtual host how to configure, will follow the first virtual host configuration, that is, the content of the first site appears.
The solution is to remove the annotations before the #namevirtualhost *:80.
This way, restarting Apache will solve the problem.
Workaround: Configure the virtual host, restart Apache,[warn] _default_ VirtualHost overlap on port, the first has precedence