首页 > 代码库 > 重启服务器“AH00558: apache2: Could not reliably determine the server's fully qualified domain name”问题的解决

重启服务器“AH00558: apache2: Could not reliably determine the server's fully qualified domain name”问题的解决

重启服务器时报错:

AH00558: apache2: Could not reliably determine the server‘s fully qualified domain name, using 10.0.2.15. Set the ‘ServerName‘ directive globally to suppress this message

解决办法:$ sudo vi /etc/apache2/apache2.conf

             最后加入一句: ServerName localhost:80

重启服务器“AH00558: apache2: Could not reliably determine the server's fully qualified domain name”问题的解决