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

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

    Under Debian Squeeze;

    1. Edit Apache2 conf file : vim /etc/apache2/apache2.conf
    2. Insert the following line at the apache2.conf: ServerName localhost
    3. Restart Apache2: apache2ctl restart or /etc/init.d/apache2 restart

    Should work fine (it did solve the problem in my case)

    tks noodl for the link on the different layouts. :)

提交回复
热议问题