启动apache 提示 httpd: Could not reliably determine the server's fully qualified domain name

2014年03月24日 23:37 by:老修

新配置的linux 主机, 安装好apache 输入命令"service httpd start" 启动apache出现下面的提示: 

Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 123.12.3.1 for ServerName

apache启动错误提示

意思大概是说apache找不到解析的域名, 将用ip地址作为默认的servername, 理解了什么意思那我们就去配置一下吧. 

打开 http.conf 找到这行: ServerName ... 修改为 ServerName localhost:80

apache启动错误提示 

重启apache提示没有了. 

apache启动错误提示

标签:apache