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

前端 未结 13 772
悲&欢浪女
悲&欢浪女 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 20:05

    1. sudo vim /etc/apache2/httpd.conf
    2. Insert the following line at the httpd.conf: ServerName localhost
    3. Just restart the Apache: sudo /etc/init.d/apache2 restart

提交回复
热议问题