Article directory
Start apache error prompt httpd: Could not reliably determine the server's fully qualified domain name
Apache error message
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using ::1. Set the 'ServerName' directive globally to suppress this message
Google Translate:AH00558: httpd: The fully qualified domain name of the server cannot be determined reliably using ::1.Set the global "ServerName" directive to suppress this message.
Solution
1) The installation path for SFTP client to log in to apache (different system programs have different paths), hereCWP Control PanelFor example:
/usr/local/apache/conf/
2) Edit the httpd.conf file
3) Search for "ServerName"
4) in #ServerName http://www.example.com:80下添加:
ServerName localhost:80
Attention points
"#" means comment code without "#".
5) Press CTRL+SAVE to save.
6) SSH restart apache:
service httpd restart
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) shared "Apache error prompt httpd: Could not reliably determine the server's fully qualified domain name", which is helpful to you.
Welcome to share the link of this article:https://www.chenweiliang.com/cwl-329.html
To unlock more hidden tricks🔑, welcome to join our Telegram channel!
If you like it, please share and like it! Your sharing and likes are our continuous motivation!