cPanel & WHMWeb Servers

Apache2 could not reliably determine the servers fully

Apache2 could not reliably determine warning normally indicates that your host’s file does not contain an FQDN (fully qualified domain name) you should always use an FQDN on your cPanel NVMe Server so when restarting Apache you may see the below warning.

Apache2 could not reliably determine

This is not a critical error and in some cases, some users may not need to fix this error. Users who see this error on cPanel servers should follow this guide and add the tag as required to the httpd configuration file.

* Restarting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using SERVER-IP. Set the 'ServerName' directive globally to suppress this message

You can fix this issue by adding a ServerName tag to the Apache httpd.conf file or the apache2 conf file

Ubuntu and Debian

echo "ServerName localhost" | sudo tee /etc/apache2/conf.d/fqdn

Restart Apache

CentOS / RHEL

nano /etc/httpd/conf/httpd.conf

Add the below tag on its own line

ServerName localhost

Save and close the file then restart Apache. The Apache2 could not reliably determine error should be resolved. If you don’t already have a firewall on your cPanel server read our guide on how to install CSF to your server. CSF protects you from a range of attacks that could cause your server to become compromised by a malicious user.

Get free cPanel server management with any cPanel server purchased from First2Host!

Leave a Reply

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

Back to top button