httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
2009-05-21 15:37:50
Apache的启动经常看到这样一个警告[root@myweb]# service httpd restart
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
刚刚查了一下,找到了解决方法.
Your box's config does not allow Apache to find your server's FQDN (Fully Qualified Domain Name).
原因是Apache无法找到服务器的FQDN(Fully Qualified Domain Name).
最简单的,修改httpd.conf文件,增加:
ServerName <server_name_or_ip_addr>
文章详细介绍了如何解决Apache启动时出现的警告信息,指出原因在于服务器无法找到其FQDN,并提供了修改httpd.conf文件的方法来解决此问题。

5万+

被折叠的 条评论
为什么被折叠?



