Apache2 – Error Local Domain

techmint.com

Here is another one, the apache2 error I got, and confusing the dns setting in my local computer.

“Could not reliably determine the server's fully qualified domain name”

It was my hostname. It is set to Sugi-Satellite-5B. It conflicts somewhere. I arrange the hostname to the same name with my local site. Now I got to change it.

#sudo nano /etc/hostname
----- change the hostname here
#sudo nano /etc/hostname
----- also add 127.0.1.1 yournewhostname
yournewhostname - exactly I wrote in /etc/hostname

Restart the computer, and the message of “Could not reliably determine the server’s fully qualified domain name” is missing. I checked in the :

#sudo systemctl status apache2

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.