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

相關文章
相關標籤/搜索