Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName This page contains information about Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName Here you can also give your thou
When I tried to restart my apacher server, i kept getting this error:
Starting httpd: httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[root@myserver]# /etc/init.d/httpd restartStopping httpd: [ OK ]
Starting httpd:
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [ OK ]
THIS IS HOW YOU FIX THIS:
send the follwing two command. You must know your hostname and your domain name for this to work. if you have both, go ahead....
echo HOST.DOMAIN.com > /etc/hostname |
HOST = Your host name
DOMAIN = Your Domain Name
/bin/hostname -F /etc/hostname |
after I restart my server again, I didnt get the error anymore
hope this helps.