西数超哥博客
运维经验教程分享

apache启动报错:httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName解决办法

使用新搭建环境配置yum 了一个apache,配置多个虚拟主机以后,启动报错:httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
当然这个报错并不影响我们使用,只是有报错肯定看着不舒服。下边说下解决办法:

vi /etc/httpd/conf/httpd.conf   配置文件找个位置加入一行代码  ServerName  localhost:80 重启httpd,问题解决。

转载请注明:西数超哥博客www.ysidc.top» apache启动报错:httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName解决办法

https://www.ysidc.top 西数超哥博客,数据库,西数超哥,虚拟主机,域名注册,域名,云服务器,云主机,云建站,ysidc.top

赞(0)
声明:本站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,若涉及侵权请及时告知,将会在第一时间删除。本站原创内容未经允许不得转载:西数超哥博客 » apache启动报错:httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName解决办法