CWP issue: httpd: Could not reliably determine the server's fully qualified domain name , using ::1 for ServerName. Solution.
A digital marketing professional installed the CWP control panel on their VPS and then used Linux commands to restart httpd.
service httpd restart
After that, SSH has the following prompts ▼
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server's fully qualifie domain name, using ::1 for ServerNameSolution
Step 1: Locate the httpd.conf file
This is the specific path of the CWP control panel httpd.conf file ▼
/usr/local/apache/conf/httpd.conf
Step 2: Edit the Apache file
We can edit this file directly by clicking Apache Settings→Apache Configuration in the CWP control panel.
Step 3: Edit the httpd.conf file
Add ▼ in httpd.conf file
ServerName localhost:80
Step 4: Next, restart the httpd service.
service httpd restart
Step 5: The following results are returned, indicating that the problem has been successfully solved!
Stopping httpd: [ OK ] Starting httpd: [ OK ]
Hopefully, the article "Solving httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName" shared on Chen Weiliang's blog ( https://www.chenweiliang.com/ ) will be helpful to you.
Feel free to share this article's link: https://www.chenweiliang.com/cwl-154.html
