码迷,mamicode.com
首页 > Web开发 > 详细

httpd: Could not reliably determine the server's fully .......

时间:2016-06-12 16:59:40      阅读:156      评论:0      收藏:0      [点我收藏+]

标签:localhost   解决方案   determine   浏览器   记事本   

错误:   httpd: Could not reliably determine the server‘s fully qualified domain name, using localhost.localdomain for ServerName

解决方案:


用记事本打开 httpd.conf

将里面的 #ServerName localhost:80 注释去掉即可。

再执行 httpd

然后可以通过浏览器访问 http://localhost:80 ,如果页面显示 “It works!” ,即表示apache已安装并启动成功。


++++++++++++++++++++++++++++++++++++++++++++

 

using localhost.localdomain for ServerName  说不能确认服务器完全确认域名 localhost.localdoman  这个问题怎么解决

 

最佳答案: 

vim /usr/local/apache/conf/httpd.conf

vi /etc/httpd/conf/httpd.conf   加入一句  ServerName  localhost:80


httpd: Could not reliably determine the server's fully .......

标签:localhost   解决方案   determine   浏览器   记事本   

原文地址:http://xiongrunchu.blog.51cto.com/11696174/1788262

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