apache AH00558错误: Could not reliably determine the server's fully qualified domain name

/usr/local/httpd/bin/apachectl startapache

在启动apache时遇到以下错误:dom

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

 

解决方法:

配置httpd.conf中 ServerName 为可用域名,如:ServerName localhost:80server

相关文章
相关标签/搜索