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

在Apache使用过程中,如 启动 ,可能会报该错误:

$ /usr/local/apache2.4/bin/apachectl start
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message

解决如下:

  1. 进入 apache 的安装目录。(视个人安装情况而不同)
$ cd /usr/local/apache2.4/conf
  1. 编辑 httpd.conf 文件,搜索 “#ServerName” ,添加 ServerName localhost:80
$ ls
extra  httpd.conf  magic  mime.types  original
$ vim httpd.conf
#ServerName www.example.com:80
ServerName localhost:80
  1. 再重新启动 apache 即可。
$ /usr/local/apache2.4/bin/apachectl restart

httpd: Could not reliably determine the server‘s fully qualified domain name相关推荐

  1. Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name 解决

    原文地址: http://digitaldeviation.com/articles/linux/apache-error-could-not-reliably-determine-the-serve ...

  2. 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.1 for Se ...

  3. Apache windows启动时报错 httpd: Could not reliably determine the server's fully qualified domain name...

    Apache windows启动调试时报错或警告 httpd: Could not reliably determine the server's fully qualified domain nam ...

  4. 解决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 ...

  5. 解决httpd: 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@serv ...

  6. mac下httpd: Could not reliably determine the server's fully qualified domain name, using

    mac下出现httpd: Could not reliably determine the server's fully qualified domain name, using MacBook-Pr ...

  7. 解决AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using local

    一.启动apache遇到错误: httpd: Could not reliably determine the server's fully qualified domain name 二·.修改配置 ...

  8. 解决AH00558: httpd: Could not reliably determine the server‘s fully qualified domain name, using local

    1.启动apache遇到错误: httpd: Could not reliably determine the server's fully qualified domain name 2·.修改ht ...

  9. AH00558: httpd: Could not reliably determine the server‘s fully qualified domain

    启动httpd时报: AH00558: httpd: Could not reliably determine the server's fully qualified domain> 解决步骤 ...

最新文章

  1. PostgreSQL 无会话、有会话模式 - 客服平均响应速度(RT)实时计算实践(窗口查询\流计算)...
  2. 人体姿态估计论文总结 (2D + 视频)
  3. 程序员如何日常解决错误问题
  4. Swift之深入解析内存管理的底层原理
  5. [BUUCTF-pwn]——picoctf_2018_buffer overflow 0
  6. SAP Fiori Launchpad里加载abap.js的具体代码位置
  7. python --- 线程
  8. 大型网站技术架构(五)网站高可用架构
  9. Go Revel - Cache(缓存)
  10. turbo c语言编程环境,turbo c(编程软件)
  11. 2018Oracle11g下载与安装菜鸟教程(二)
  12. php laravel手册,Laravel 8.x 简体中文最新手册指南
  13. android电视psp模拟器,PSP模拟器(PPSSPP) for Android平板电脑图文教程
  14. 2021节假日安排,免费拿走
  15. sccm数据库远程服务器,SCCM 2007 R2部署之连接远程SQL Server模式
  16. 微信朋友圈+html+字体颜色,改变微信聊天字体颜色的方法?
  17. Windows10下使用Conda安装TensorFlow-GPU
  18. 个人永久性免费-Excel催化剂功能第21波-Excel与Sqlserver零门槛交互-执行SQL语句篇...
  19. librosa安装常见错误
  20. 计算机网络第七版3-2

热门文章

  1. VM安装MAC细节问题
  2. TCP系列18—重传—8、FACK及SACK reneging下的重传
  3. Linux中查看命令帮助手册
  4. LSM-tree原理分析
  5. Hive可视化客户端工具
  6. c语言 'max' : undeclared identifier,函数调用老是error C2065: 'getmax' : undeclared identifier怎么处理...
  7. 运放之求解输出失调电压
  8. Morphia开发简介
  9. 通用状态机和ROS中的SMACH状态机
  10. html横线标记_HTML标记大全参考手册