Fixing Apache’s “Could Not Determine FQDN” Alert
April 15th, 2006
I ran into this alert or error message almost all the time after installing a new Apache server. Everytime I do a restart on the apache server, it will say:
[alert] httpd: Could not determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
Since this is just an alert and Apache try to fix this issue automatically by assigning the server’s fully qualified domain name to 127.0.01 for servername. But you can always fix this by defining the ServerName within the http.conf file. So for example you have a hostname named stereo, then you will add the following to your httpd.conf:
ServerName stereo
You can always find out your server’s hostname by typing hostname. Then you might also want to speficy the following in your /etc/hosts file:
127.0.0.1 stereo localhost localhost.localdomain
Filed under: Unix / Linux
1 Comment Add your own
1.
vinalee | April 27th, 2006 at 8:41 am
Hua jun san..mana mi update nya lagi :p. Jgn ko malas2 update ituuu…saya kan pembaca blog setia mu :D.
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed