欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

AH00558: apache2: Could not reliably determine the server's fully qualified doma 博客分类: apache2 apacheapache2 

程序员文章站 2024-03-18 15:47:43
...

root@zabbixserv:# /etc/init.d/apache2 restart 

 * Restarting web server apache2                              

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using IP. Set the 'ServerName' directive globally to suppress this message                                                                      [ OK ]

 

解决方案:

 1.vi /etc/apache2/apache2.conf

    在此文件内增加  ServerName IP

 2.重新启动

   root@zabbixserv:# /etc/init.d/apache2 restart 

   * Restarting web server apache2                   [ OK ]

相关标签: apache apache2