AH00558: apache2: Could not reliably

AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1.www.cnblogs.com

在Unbuntu中重启Apache服务器出现错误:AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1.等等。解决方法:

$ sudo vim /etc/apache2/apache2.conf

最后加入一句: ServerName localhost:80

    原文作者:前端工程师
    原文地址: https://zhuanlan.zhihu.com/p/50543165
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞