#ubuntu14.04#apache2: Could not reliably determine

很无语的错误,12.04也有这样的问题。不过编辑httpd.conf即可。
但是14.04可不能这样。
解决方法有:
1.在文件/etc/apache2/apache2.conf 后加上”ServerName localhost“。
2.创建文件:/etc/apache2/conf-enabled/servername.conf,并加上"ServerName localhost"


重启服务即可


参考:http://askubuntu.com/questions/454497/apache2-could-not-reliably-determine-the-servers-fully-qualified-domain-name

你可能感兴趣的:(#ubuntu14.04#apache2: Could not reliably determine)