欢迎访问:常州市武进区嘉泽中心小学网站 !今天是:
栏目列表
您现在的位置是:首页>>教师>>计算机技术>>网站制作技术>>文章内容
httpd: Could not determine the servers fully qualified domain name 问题的解决
发布时间:2008-11-20   点击:   来源:本站原创   录入者:佚名
 


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 {域名已经过期}:80

再次启动就正常了:

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

 


附件:
    关闭窗口
    打印文档
    账号登录
    保持登录 忘记密码?
    账号与武进教师培训平台同步