All posts All posts by this author Paper color Change page color Announcements

How to fix Apache-Could not reliably determine the server's fully qualified domain name on Ubuntu

To fix that problem, you need to edit the apache2.conf file. Open the terminal and type

$ sudo vi /etc/apache2/apache2.conf

Now, simply add the following line to the file.

ServerName localhost

Replace "localhost" with your domain name.Save the file and exit from vim. Finally restart the server

$ sudo service apache2 restart
Software Solutions