首页 > 代码库 > Apache运行时寻找ServerName

Apache运行时寻找ServerName

[root@localhost bin]# ./apachectl start

httpd: Could not reliably determine theserver‘s fully qualified domain name, using localhost.localdomain forServerName

[root@localhost bin]# ./apachectl stop

httpd: Could not reliably determine theserver‘s fully qualified domain name, using localhost.localdomain forServerName

//出现以上的现象,并不影响Apache的运行,只要对http.conf文件中:

#ServerName localhost:80  //将注释("#")去掉,就不会说找不到确定的服务器域名了。


本文出自 “运维” 博客,请务必保留此出处http://sky9896.blog.51cto.com/2330653/1591398

Apache运行时寻找ServerName