首页 > 代码库 > Apache2启动错误Could not reliably determine the server's fully qualified domain name
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的配置文件即可:
在配置文件 apache2.conf里面加入一行
ServerName localhost:80
然后重启Apache服务就可以了
sudo /etc/init.d/apache2 restart
Apache2启动错误Could not reliably determine the server's fully qualified domain name
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。