Ubuntu下Apache重启错误:Could not reliably determine解决

操作系统:ubuntu 14

apache版本:2.4.7 Ubuntu


这个版本的apache是没有httpd.conf的

错误信息:

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

解决方法:
sudo vim /etc/apache2/apache2.conf

在文件后面加上:
#Server Name
ServerName 127.0.0.1

你可能感兴趣的:(Ubuntu下Apache重启错误:Could not reliably determine解决)