Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
apache2: Could not reliably determine the server's fully qualified domain name

Starting Apache is giving this error:

Could not reliably determine the server's fully qualified domain name, using for ServerName

Can someone explain this error to me please?

share|improve this question

marked as duplicate by Zypher Mar 2 '11 at 22:56

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

you should search before posting. This is a duplicate of many other posts, such as:… – Coops Mar 2 '11 at 22:52

That FQDN error is not a problem for apache, it is just a minor warning. You could run this server in production and it would make no difference.

If you google how to set up the FQDN there are tutorials for almost every flavor of linux.

share|improve this answer
so should i ignore this error or not??? – frank Mar 2 '11 at 14:37
yes, you can ignore the error. – chrism2671 Mar 3 '11 at 13:22

When using virtual hostnames and someone requests the IP instead of a hostname, Apache might use the ServerName setting to redirect clients to the correct URL.

Therefore, you should define the ServerName value. On Debian-based Apache 2 installations, you can do this in the file "/etc/apache2/httpd.conf", which should be empty by default. Just add


If you're only having Apache as development server, you can simply ignore the warning. Apache will use reverse DNS to lookup for requests to, for example, and thus automatically find out that the hostname is "localhost".

Another way is to edit the "/etc/hosts" file. That will work as well because of named reverse DNS lookup.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.