找回密码
 注册
查看: 4146|回复: 0

httpd: Could not reliably determine the server's fully qualified domain name

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2018-6-24 12:19:04 | 显示全部楼层 |阅读模式
# /usr/local/apache2/bin/apachectl start) `2 W4 {$ p4 `9 z
httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2 for ServerName) D4 b4 Z# I5 y% Z
解决办法:
: b7 z8 U& x) U  D3 D修改Servername 即可
- g" Z7 |" n4 O7 Q) I3 H# vim /usr/local/apache2/conf/httpd.conf
! r/ |6 t! C9 [6 T( h% JServerName localhost:80 $ E- @; A- f  A9 ], q( _

' `/ F# t  v, ?  J  重新启动apache 即可。+ b1 P2 d: ^; x5 C- w, q! b1 T7 |

' k* a* M7 F3 m4 L6 q2 n

#/usr/local/apache/bin/apachectl restart

您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 04:21 , Processed in 0.016620 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表