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

前端 未结 12 1714
悲&欢浪女
悲&欢浪女 2020-12-04 05:44

I tried to restart my Apache server on CentOS 5.0 and got this message:

httpd: Could not reliably determine the server\'s fully qualified domain name,

12条回答
  •  遥遥无期
    2020-12-04 06:28

    If you don't have httpd.conf in folder /etc/apache2, you should have apache2.conf - simply add:

    ServerName localhost

    Then restart the apache2 service.

提交回复
热议问题