How to fix Apache – "Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName" Error on Ubuntu
You might probably faced the same following error while you were restarting the Apache server on Ubuntu.
To fix that problem, you need to edit the httpd.conf file. Open the terminal and type,
By default httpd.conf file will be blank. Now, simply add the following line to the file.
Save the file and exit from gEdit.
Finally restart the server.
aslam@aslam:~$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
sudo gedit /etc/apache2/httpd.conf
ServerName localhost
sudo /etc/init.d/apache2 restart
This entry was posted in Web Development and tagged Apache server, error, fixed, How to, Ubuntu, Ubuntu 8.10. Bookmark the permalink.

Pingback: Everything Is Crap » Fix “Could not reliably determine the server’s fully qualified domain name” apache error
Pingback: [SOLVED] “Could not reliably determine the server’s fully qualified domain name, using … for ServerName” « RussenReaktor’s Weblog
Pingback: unbuntu server10.04 LTS从无到有 | 未知味觉
Pingback: How to fix Apache – “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName” Error on Ubuntu « davidmccarthy
Pingback: 몽고DBmongodb setting problem « 살군의 보조기억 장치
Pingback: Setting up my LAMP development server on Linux Mint 10 :) | Thomas W Bell
Pingback: Open Source ILS: Installation Guide for Koha on Ubuntu 10.04 LTS with MySQL 5 | Researcher's Blog?!?!?!
Pingback: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName | Swarm's Blog