重启apache显示80端口重叠,优先显示第一个网站 解决方法: 打开httpd.conf 将NameVirtualHost *:80前面的#去掉 取消注释 重启apache service httpd restart 亲测有用