Solve httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName

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 ServerName

Solution

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 ]

Comment

Your email address will not be published. Required fields are marked with * .

Scroll to Top