Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 127.0.0.1 for ServerName
share|improve this question
2  
And your question is ... ? If you think the notice should not be shown here are several answers: google.nl/… . And it is NOT an error but a notice it is using localhost as FQDN. –  Rinzwind Nov 19 '11 at 13:16
1  
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
add comment

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.

1 Answer

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
add comment

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