Linux · 2008-11-04

重启apache2遇到错误:Could not reliably determine the server’s fully qualified domain name

在debian重启apache2的时候,提示这个错误

Forcing reload of web server (apache2)…apache2: Could not reliably determine the server’s fully qualified domain name, using 10.35.12.112 for ServerName
 waiting apache2: Could not reliably determine the server’s fully qualified domain name, using 10.35.12.112 for ServerName

其实只要这样

debian:/etc/apache2# vi httpd.conf

ServerName      YourIpAddress:80