原因: The namevirtualhost command tells Apache that you will use VirtualHost boxes on a specific IP address. This command is needed only once for each IP address. It is not necessary to repeat the namevirtualhost directive for every VirtualHost box you use as in your example. The directive doesn’t define a VirtualHost, it only tells Apache that on that IP address one or more virtual hosts will be present.
解决办法: 上面原因也说的很清楚啦, 其实就是在apache的配置文件里把NameVirtualHost *.ip 这行去掉就可以啦, 下面的virtualhost里有东西就可以啦, 这行就成了多余的累赘.