重启http服务提示httpd: Could not reliably determine the server's fully qualified domain name

重启http服务,出现“httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.1.122 for ServerName”


问题原因:域名无法找到

解决办法:进入/etc/httpd/conf/httpd.conf,将 “ServerName www.example.com:80”前的注释符去掉



如果本文章为你解决问题提供了帮助,请不要吝啬为以后的分享热情添一把柴

你可能感兴趣的:(重启http服务提示httpd: Could not reliably determine the server's fully qualified domain name)