httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
配置Apache时出错及解决方法
原创
©著作权归作者所有:来自51CTO博客作者lecchi的原创作品,请联系作者获取转载授权,否则将追究法律责任
错误:
httpd: apr_sockaddr_info_get() failed for web.keke.com
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
解决方法:
1.修改hosts:
vi /etc/hosts
127.0.0.1 web.keke.com web localhost.localdomain localhost
2. 修改network:
vi /etc/sysconfig/network
HOSTNAME=web.keke.com
3. 修改Apache的http.conf:
vi /usr/local/apache/conf/httpd.conf
ServerName 127.0.0.1:80
上一篇:Word文档在页眉的横线如何清除
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
cocoapods出错解决方法
自定义GEM_HOME$ mkdir -p $HOME/Software/ruby$ export GEM_HOME=$HOME/Software/ n0.37.2...
cocoapods ruby Software 自定义