- Overview
- Articles & Snippets
- Apache Error
Apache Error
Posted by Cătălin on Sat, 16 Feb 2013
Apache Error
Fix for "Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 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 127.0.1.1 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
web design
- Overview
- Articles & Snippets
- Apache Error