fail httpd restart: NameVirtualHost error



我得到这个错误httpd restart fail

[root@centos6 etc]# service https restart
Stopping httpd:   [  OK  ]
Starting https: httpd: apr_socketaddr_info_get() failed for centos6
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Thu Feb 18 22:38:09 2021] [warn] NameVirtualHost *:80 has no VirtualHosts
[  OK  ]

这是我的httpd.conf: namvirtualhost虚拟主机

我的/etc/hosts/etc/hosts

知道我已经创建了目录和它们的index.html文件/var/www/

您将相同的ip地址分配给2个不同的虚拟主机。创建一个192.168.0.100另一个192.168.0.101.

相关内容

  • 没有找到相关文章

最新更新