Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache2 reports a warning
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
MorLipf
Apprentice
Apprentice


Joined: 09 Nov 2004
Posts: 226
Location: Solingen, Germany

PostPosted: Mon Oct 31, 2005 8:39 pm    Post subject: Apache2 reports a warning Reply with quote

Hi,

every time I want to start apache 2.0.55 I get this warning:

Code:
* Starting apache2 ...
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Mon Oct 31 21:33:06 2005] [warn] NameVirtualHost *:80 has no VirtualHosts           [ ok ]


I didn't edited the configfile. It's all default. What is a VirtualHost? The only thing I want is to run an Apache on my localhost for use in the intranet.

I hope you can help me.

Best regards,
MorLipf
Back to top
View user's profile Send private message
elmicha
n00b
n00b


Joined: 02 Aug 2003
Posts: 31
Location: Bonn, Germany

PostPosted: Mon Oct 31, 2005 9:50 pm    Post subject: Reply with quote

Try setting your DNSDOMAIN in /etc/conf.d/domainname and/or ServerName in /etc/apache2/httpd.conf.
Back to top
View user's profile Send private message
MorLipf
Apprentice
Apprentice


Joined: 09 Nov 2004
Posts: 226
Location: Solingen, Germany

PostPosted: Mon Oct 31, 2005 10:05 pm    Post subject: Reply with quote

Thx, the ServerName was it. Why is the option disabled as the default setting?
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