今天同事在配置apache的时候遇到一个问题,在apahce启动的时候抛出
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
网上搜了一下解决办法:
#vi /usr/local/apache/conf/httpd.conf
找到#ServerName www.example.com:80 把#去掉,再重启apache即可没事了。
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
网上搜了一下解决办法:
#vi /usr/local/apache/conf/httpd.conf
找到#ServerName www.example.com:80 把#去掉,再重启apache即可没事了。

本文介绍了一个在启动Apache服务器时遇到的问题:无法可靠地确定服务器的完全限定域名,并使用127.0.0.1作为ServerName。通过修改httpd.conf文件中的ServerName设置并重启Apache来解决该问题。
1876

被折叠的 条评论
为什么被折叠?



