httpd: Could not reliably determine the server's fully qualified domain name

时间:2023-11-12 11:58:26

问题描述:

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message

解决方案:

vi /etc/httpd/conf/httpd.conf   加入一句  ServerName  localhost:80

其中 localhost是主机的hostname

作者:Younger Liu,

本作品采用知识共享署名-非商业性使用-相同方式共享 3.0 未本地化版本许可协议进行许可。