Apache2启动错误Could not reliably determine the server's fully qualified domain name
Posted rencm
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的主要内容,如果未能解决你的问题,请参考以下文章
重启Apache报错apache2: Could not reliably determine the server's fully qualified domain name, using
apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
解决apache启动错误"httpd:Could not reliably determine..."
解决apache启动错误"httpd:Could not reliably determine..."
重启服务器“AH00558: apache2: Could not reliably determine the server's fully qualified domain name”问题
部署OpenStack问题汇总--解决apache启动错误"httpd:Could not reliably determine..."