On Thu, Jul 15, 2010 at 2:41 PM, Tapas Mishra <mightydre...@gmail.com> wrote:
> My hostname and fqdns are different.
>

Did you read the manual entry I linked you to? It was specificly
chosen to illustrate why apache emits that error message, and what you
can do to fix the problem:

"""
If no ServerName is specified, then the server attempts to deduce the
hostname by performing a reverse lookup on the IP address.
"""

So it tries to do a PTR (reverse) lookup for your IP, 192.168.1.5,
which obviously doesn't return correctly, and so apache emits the
error.

So to fix it, you must supply a ServerName (in the main config, not a
vhost) which apache can resolve. To make sure apache can resolve it,
simply add the hostname to /etc/hosts

Eg, if your server is called 'bob', then put 'ServerName bob' in the
apache config, and add a line '192.168.1.5 bob' to /etc/hosts.

(Wondering why I bother.)

Tom

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to