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

前端 未结 13 728
悲&欢浪女
悲&欢浪女 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:59

    I was NOT getting the ServerName wrong. Inside your VirtualHost configuration that is causing this warning message, it is the generic one near the top of your httpd.conf which is by default commented out.

    Change

    #ServerName www.example.com:80
    

    to:

      ServerName 127.0.0.1:80
    

提交回复
热议问题