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

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

Please Note

"#" 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

Welcome to the Telegram channel of Chen Weiliang's blog to get the latest updates!

🔔 Be the first to get the valuable "ChatGPT Content Marketing AI Tool Usage Guide" in the channel top directory! 🌟
📚 This guide contains huge value, 🌟This is a rare opportunity, don’t miss it! ⏰⌛💨
Share and like if you like!
Your sharing and likes are our continuous motivation!

 

Comment

Your email address will not be published. Required fields * Callout

scroll to top