How to fix reliably determine the server’s fully qualified domain name
Apache2 could not reliably determine warning normally indicates that your host’s file does not contain an FQDN (fully qualified domain name) not everyone will use an FQDN on their 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 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. 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!
How was this article?
You might also like
More from cPanel
Shared cPanel Servers – Distributing the cost of cPanel and other software licenses
The cost of software that runs on servers is at a record high. In many cases where cPanel is used …
How To Install Memcached PHP Cache In cPanel Servers
Memcached is an in-memory caching function that allows fast access and low-latency caching for PHP applications. Used by major companies …
How To Install A Cloudflare Origin SSL Certificate In cPanel
Free SSL Certificates from places like cPanel or Let's Encrypt are great. When Let's Encrypt first introduces free SSL Certificates …