Apache2服务器Could not reliably determine the server's 问题解决

重启Apache2出现:Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName.问题
在/etc/apache2/apache2.conf文件最后加上:
# Server Name
ServerName XXXXXX

你可能感兴趣的:(职场,休闲)