Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1. Set the ‘ServerName’ directive

Lets edit our httpd.conf, on CentOS 7.6 & Apache/2.4.6 it’s located at /etc/httpd/conf/httpd.conf

nano /etc/httpd/conf/httpd.conf

And edit our ServerName line/entry.

Restart httpd

service httpd restart

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.