Pages

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

Tuesday, October 29, 2013

Summary:
----------------
apache 2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

Step 1:
-----------
We need to configure localhost as a server name in apache2 httpd file

$ sudo subl /etc/apache2/httpd.conf

Step 2:
-----------
Add the following command and save the file

$ ServerName localhost


Step 3:
-----------
Restart the apache2 server

$ sudo service apache2 restart

No comments:

Post a Comment