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

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

    FQDN means the resolved name over DNS. It should be like "server-name.search-domain".

    The warning you get just provides a notice that httpd can not find a FQDN, so it might not work right to handle a name-based virtual host. So make sure the expected FQDN is registered in your DNS server, or manually add the entry in /etc/hosts which is prior to hitting DNS.

提交回复
热议问题