具体报错信息:
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.0.4. Set the 'ServerName' directive globally to suppress this message
解决办法:
步骤一:
[root@registrator ~]# vim /etc/httpd/conf/httpd.conf
#ServerName www.example.com:80 //找到ServerName这一行
改为:
ServerName localhost:80
步骤二:
重启httpd服务:
[root@registrator ~]# systemctl restart httpd