Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

After installing Xdebug I tried to restart or reload Apache and I received the following message:

$ sudo /etc/init.d/apache2 reload
 * Reloading web server config apache2
apache2: Could not reliably determine the server's fully qualified domain
name, using for ServerName
share|improve this question

closed as too localized by Lekensteyn, SpamapS, htorque, Takkat, Marco Ceppi Jan 4 '12 at 19:53

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

And your question is ... ? If you think the notice should not be shown here are several answers:… . And it is NOT an error but a notice it is using localhost as FQDN. – Rinzwind Nov 19 '11 at 13:16
CLOSING OF THIS QUESTION. This problem of solved inserting the following line in the file apache2.conf:"ServerName localhost". It has taken some time because of search in the web. What would not happen if anybody could answer rapidly. Anyway thanks attention. – frank tavares Nov 21 '11 at 11:51
@franktavares can you post this as an answer to the question? – Jorge Castro Nov 22 '11 at 22:49

Good news! Apache is restarting successfully. Apache just isn't sure where you want serve from, so it's choosing your localhost by default. To prevent this message from appearing, clarify that you want to serve from localhost by adding the following line into your /etc/apache2/apache2.conf file:

ServerName localhost
share|improve this answer

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