Could not reliably determine the server's fully qualified domain name

前端 未结 13 747
悲&欢浪女
悲&欢浪女 2020-11-29 19:09

I have just installed Apache 2.2.17, and I am using it first time.

Now when I try to start the server using the command service httpd start it gives me

13条回答
  •  孤城傲影
    2020-11-29 19:51

    Yes, you should set ServerName:

    http://wiki.apache.org/httpd/CouldNotDetermineServerName

    http://httpd.apache.org/docs/current/mod/core.html#servername

    You can find information on the layouts used by the various httpd distributions here:

    http://wiki.apache.org/httpd/DistrosDefaultLayout

    In your case the file to edit is /etc/httpd/conf/httpd.conf

提交回复
热议问题