httpd: Could not determine the server's fully qualified domain name 问题的解决

原创 2004年10月18日 14:45:00


Apache的启动经常看到这样一个警告

[root@eygle conf]# apachectl start
httpd: Could not determine the server's fully qualified domain name, using 172.16.11.99 for ServerName


刚刚查了一下,找到了解决方法.

Your box's config does not allow Apache to find your server's FQDN (Fully Qualified Domain Name).
原因是Apache无法找到服务器的FQDN(Fully Qualified Domain Name).

最简单的,修改httpd.conf文件,增加:

ServerName <server_name_or_ip_addr>

我的改为:

ServerName www.eygle.com:80

再次启动就正常了:

[root@eygle conf]# apachectl stop
[root@eygle conf]# apachectl start

 

解决httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0

httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for Se...
  • yuanyuan_186
  • yuanyuan_186
  • 2016年05月04日 17:26
  • 1091

启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name

[root@server httpd-2.2.4]# /usr/local/apache/bin/apachectl start   httpd: Could not reliably deter...
  • nyist327
  • nyist327
  • 2015年02月03日 17:03
  • 2421

Ubuntu 下修改 Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName

在Ubuntu上安装Apache,每次重启,都会出现以下错误提示:Could not reliably determine the server’s fully qualified domain na...
  • klinghr
  • klinghr
  • 2010年03月14日 10:20
  • 27682

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

有些时候,我们可能在Apache的错误日志(error.log)中发现如下错误信息: httpd.exe: Could not reliably determine the server's ful...
  • u010832551
  • u010832551
  • 2015年09月22日 11:56
  • 651

AH00558: httpd.exe: Could not reliably determine the server's fully qualified do main name, using fe

Apache的配置文件则是conf目录下的httpd.conf文件,将其打开: 首先找到ServerName(约213行),将其设置为localhost:80,并将前面的井号删除,虽然这...
  • jaray
  • jaray
  • 2014年04月24日 10:10
  • 10301

Apache问题解决:httpd: Could not reliably determine the server's fully qualified domain name

在Linux下 启动Apache时,出现:httpd: Could not reliably determine the server's fully qualified domain na...
  • hsd2012
  • hsd2012
  • 2016年04月06日 15:12
  • 1527

解决apache启动错误:Could not reliably determine the server's fully qualified domain name

启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name [root@ser...
  • YYZhQ
  • YYZhQ
  • 2014年05月09日 18:05
  • 58149

重启Apache出现警告信息Could not reliably determine the server's fully qualified domain name,

1.错误描述:重启Apache服务出现下列警告: service apache2 restart * Restarting web server apache2 AH00558: apache2:...
  • Moolight_shadow
  • Moolight_shadow
  • 2015年04月15日 22:37
  • 3116

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

问题情况:$ sudo /etc/init.d/apache2 restart * Restarting web server apache2 apache2: Could not reliabl...
  • firstboy0513
  • firstboy0513
  • 2010年09月06日 13:38
  • 29593

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

httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for Se...
  • molierel
  • molierel
  • 2011年03月20日 01:03
  • 15393
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:httpd: Could not determine the server's fully qualified domain name 问题的解决
举报原因:
原因补充:

(最多只允许输入30个字)