解决Could not reliably determine the server's fully qualified domain name
来源:互联网 发布:盛势网络剧08bilibili 编辑:程序博客网 时间:2024/05/19 19:31
有些时候,我们可能在Apache的错误日志(error.log)中发现如下错误信息:
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.100 for ServerName
该错误信息表示Apache无法彻底确定服务器的完全限定域名,只好使用IP地址192.168.1.100来作为主机名称。
简而言之,如果你的服务器IP地址是192.168.1.100,而你也没有在配置文件httpd.conf中设置Apache服务器的主机名称(ServerName),Apache就无法知道该该服务器的主机名称,只好以192.168.1.100这个IP地址来替代。
要解决这个问题,非常简单。我们只需要在Apache安装目录/conf/httpd.conf文件中启用ServerName配置指令即可。例如:
ServerName localhost:80
Apache的配置文件httpd.conf中默认就是上述指令,不过Apache在该指令语句前添加了#号,注释掉了该语句,我们只需要去掉#号,然后重新启动Apache即可。
0 0
- 解决httpd: Could not reliably determine the server's fully qualified domain name的方法
- 解决httpd: Could not reliably determine the server's fully qualified domain name
- httpd: Could not reliably determine the server's fully qualified domain name解决
- PHP或Apache Could not reliably determine the server's fully qualified domain name的解决
- Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name 解决
- 解决httpd: Could not reliably determine the server's fully qualified domain name
- 解决httpd: Could not reliably determine the server's fully qualified domain name
- 解决apache启动错误:Could not reliably determine the server's fully qualified domain name
- 解决httpd: Could not reliably determine the server's fully qualified domain name
- 解决apache启动错误:Could not reliably determine the server's fully qualified domain name
- 解决httpd: Could not reliably determine the server's fully qualified domain name
- 解决Could not reliably determine the server's fully qualified domain name
- 解决httpd: Could not reliably determine the server's fully qualified domain name
- 解决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
- 解决httpd: Could not reliably determine the server's fully qualified domain name
- 解决httpd: Could not reliably determine the server's fully qualified domain name
- 解决apache启动错误:Could not reliably determine the server's fully qualified domain name
- [LeetCode]House Robber
- Flask-SQLALchemy学习笔记
- QT 中网络数据与本地数据的转换(Windows)
- 一只简单的网络爬虫(基于linux C/C++)————读取命令行参数及日志宏设计
- MyEclipse 快捷键(快捷键无效解决方案)
- 解决Could not reliably determine the server's fully qualified domain name
- LINUX常用命令大全
- shell 冒泡排序 数组的使用
- kingshard--一个Go开发高性能MySQL Proxy项目
- 一千行MySQL学习笔记(六)
- 我的Flask app 配置信息格式
- 网络请求(get&&post)
- C++中的**this
- 网络安全