CWP问题httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName解决方法
XwedîKirrûbirra Înternetê从业者在VPS安装完Panela Kontrolê ya CWP,bikaranînLinux命令重启httpd ▼
service httpd restart
之后,SSH就出现如下提示的问题 ▼
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server's fully qualifie domain name, using ::1 for ServerName
Çare
Gav 1:找到httpd.conf文件
这是CWP控制面板httpd.conf文件的具体路径 ▼
/usr/local/apache/conf/httpd.conf
gava 2ê:编辑Apache文件
我们可以在CWP控制面板,点击Apache Settings→Apache Configuration直接对此文件进行编辑。
gava 3ê:编辑httpd.conf文件
在httpd.conf文件中添加 ▼
ServerName localhost:80
Gav 4:接着,重启httpd服务即可:
service httpd restart
第 5 步:返回如下结果,表示此问题已经成功解决好了!
Stopping httpd: [ OK ] Starting httpd: [ OK ]
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) 分享的《解决httpd: Could not reliably determine the server’s fully qualified domain name, using ::1 for ServerName》,对您有帮助。
Bi xêr hatî bo parvekirina girêdana vê gotarê:https://www.chenweiliang.com/cwl-154.html
Hûn bi xêr hatin kanala Telegramê ya bloga Chen Weiliang da ku nûvekirinên herî dawî bistînin!
📚 Ev rêber nirxek pir mezin dihewîne, 🌟Ev derfetek kêm e, wê ji dest nede! ⏰⌛💨
Heke hûn hez dikin parve bikin û hez bikin!
Parvekirin û ecibandinên we motîvasyona meya domdar e!