信息发布→ 登录 注册 退出

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

发布时间:2017-06-19

点击量:
错误情况:

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的配置文件即可:

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

 ServerName localhost:80

 然后重启Apache服务就可以了

sudo /etc/init.d/apache2 restart 

标签:# 配置文件  # 重启  # 就可以  # servername  # set  # directive  # message  # img  # globally  # suppress  
在线客服
服务热线

服务热线

4008888355

微信咨询
二维码
返回顶部
×二维码

截屏,微信识别二维码

打开微信

微信号已复制,请打开微信添加咨询详情!