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

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

    1. sudo nano /etc/apache2/httpd.conf
    2. search for a text ServerName in nano editor
    3. Insert the following line at the httpd.conf: ServerName localhost
    4. Just restart the Apache: sudo /usr/sbin/apachectl restart

提交回复
热议问题