Re: [users@httpd] Problem with Apache2 FQDN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sep 7, 2006, at 10:22 AM, Dave Klema wrote:

Hello,

I'm getting the famous warning when
starting/restarting apache...

"apache2: Could not determine the server's fully
qualified domain name, using 192.168.15.252 for
ServerName"

As far as I know, this is usually a harmless emit. If you want to get rid of it, you could place a

ServerName carbon.yourdomain.com

in your main server section. However, this only applies to your main server, which will receive requests that cannot be routed to your virtual hosts. Depending on your configuration decisions, you may not need the functionality that the ServerName directive provides. It is certainly not something that you should jeopardize your Sendmail configuration for.

S.


I have a valid domain name.  I'm hosting two websites
on my server box using Name-based virtual host.  My
question is how can apache determine the FQDN of my
server if there are two "ServerName" directives for
the two websites in the httpd.conf file?????  Seems
like its using my server boxes local IP address for
the FQDN.

My two domain names are...
mydomain1.org
mydomain2.org

Both are specified in the httpd.conf file as
VirtualHosts.

The computer that is hosting these websites hostname
is "Carbon" and inside the /etc/hosts file there is a
line below the loopback line as follows.

192.168.15.252    carbon

Any idea's...   Its not a big deal but I'm not sure if
its messing up my Sendmail wrapper program that is
being utilized by the php mail() function so I would
like to fix it and move on.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
sctemme@xxxxxxxxxx            http://www.temme.net/sander/
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF


Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux