码迷,mamicode.com
首页 > 其他好文 > 详细

Could not reliably determine the server's fully qualified domain name

时间:2016-01-25 07:41:10      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:localhost   message   determine   解决方案   配置文件   

问题:

Starting httpd: AH00558: httpd: Could not reliably determine the server‘s fully qualified domain name, using 10.162.217.220. Set the ‘ServerName‘ directive globally to suppress this message


百度解决方案:

apache配置文件httpd.conf,搜索"#ServerName",

修改为:ServerName localhost:80

保存后重启

systemctl restart httpd.service



参考:

http://www.2cto.com/os/201201/117797.html

http://blog.sina.com.cn/s/blog_4d83777b0100pgal.html

http://www.cnblogs.com/52linux/archive/2012/03/24/2415637.html

Could not reliably determine the server's fully qualified domain name

标签:localhost   message   determine   解决方案   配置文件   

原文地址:http://ouyangjun.blog.51cto.com/10284323/1738084

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!