Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New Apache Servername
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
gcrew
Tux's lil' helper
Tux's lil' helper


Joined: 22 Feb 2005
Posts: 82
Location: Poughkeepsie, NY

PostPosted: Mon Sep 19, 2005 8:09 pm    Post subject: New Apache Servername Reply with quote

I just updated apache2, and now I get the following:

Code:
apache2: Could not determine the server's fully qualified domain name, using 67.86.144.139 for ServerName                                                 [ ok ]


Anyone know how I can fix this?
Back to top
View user's profile Send private message
Le_Mackeux
n00b
n00b


Joined: 19 Jan 2004
Posts: 37

PostPosted: Mon Sep 19, 2005 8:15 pm    Post subject: Reply with quote

Edit the field Servername under /etc/apache/httpd.conf


You should read a bit more on the forum. With this morning upgrade, apache changed it,s config file from apache2.conf to httpd.conf.

It got standardized.


Later
Back to top
View user's profile Send private message
gcrew
Tux's lil' helper
Tux's lil' helper


Joined: 22 Feb 2005
Posts: 82
Location: Poughkeepsie, NY

PostPosted: Mon Sep 19, 2005 8:23 pm    Post subject: Reply with quote

I don't see a Servername field in httpd.conf. That's why I posted.

I don't have that field in the old configuration file either.

Should I set it to my hostname? Or should I set it to apache2?

Why is there no default value?
Back to top
View user's profile Send private message
Le_Mackeux
n00b
n00b


Joined: 19 Jan 2004
Posts: 37

PostPosted: Mon Sep 19, 2005 8:29 pm    Post subject: Reply with quote

Look under the httpd.conf you should get a field like #
Code:
#ServerName


Uncomment it and plance a hostname. the hostname doesn't have to be the machines hostname.
Mine is serverName Berta and the machine hostname is gateway.


the commented line IS in the httpd.conf default file.

Keep me posted
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum