Fixing Apache’s “Could Not Determine FQDN” Alert

April 15, 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 Leave a Comment

  • 1. vinalee  |  April 27, 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

(required)

(required), (Hidden)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

TrackBack URL  |  RSS feed for comments on this post.


 

April 2006
M T W T F S S
« Nov   May »
 12
3456789
10111213141516
17181920212223
24252627282930

Pages

Blogroll

Categories