当前位置: 主机百科 » 资源 » 技术 » 正文

Could not reliably determine the server's fully qualified domain name, using xxx for ServerName

centos6.5rpm安装apache后,执行service httpd start命令报错:Could not reliably determine the server's fully qualified domain name, using xxx for ServerName

解决方法如下:

修改/etc/httpd/conf/httpd.conf文件,添加以下代码:

1
  ServerName localhost:80

保存后即可正常启动apache服务。

未经允许不得转载:主机百科 » Could not reliably determine the server's fully qualified domain name, using xxx for ServerName

相关文章