Articles & Code Snippets

Apache Error

Apache Error

Fix for "Could not reliably determine the server’s fully qualified domain name, using for ServerName" Error

sudo /etc/init.d/apache2 restart
Reloading web server config: apache2apache2: 
Could not reliably determine the server's fully qualified domain name, using for ServerName

To fix this problem, you need to edit the httpd.conf file.

Open your terminal and type:
sudo gedit /etc/apache2/httpd.conf
Add the following line to httpd.conf:
ServerName localhost
Save the file and restart the server:
sudo /etc/init.d/apache2 restart


Just feel like saying Hi?

  1 (903) NEGRARU phone