标签:determine domain apache server
再启动Apache2时遇到如下问题:
httpd: Could not reliably determine the server‘s fully qualified domain name, using 127.0.0.1 for ServerName
解决办法:
这问题是沒有在 /etc/httpd/conf/httpd.conf 中設定 ServerName
vi /usr/local/apache2/conf/httpd.conf
最简单的,修改httpd.conf文件,增加:(大概在102行位置)
ServerName www.example.com:80
再次启动就正常了!
标签:determine domain apache server
原文地址:http://1439337369.blog.51cto.com/10270624/1684836