Apache2启动错误Could not reliably determine the server's fully qualified domain name

错误状况:

AH00558: apache2: 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 apache

 

出现以上状况只要修改一下Apache的配置文件便可:dom

在配置文件 apache2.conf里面加入一行this

 ServerName localhost:80rest

 而后重启Apache服务就能够了server

sudo /etc/init.d/apache2 restart it

相关文章
相关标签/搜索