Archive for October, 2008

Could not Determine The Server’s Fully Qualified Domain Name, Using 127.0.0.1 for ServerName

When you are trying to restart your apache2 service by inserting command sudo /etc/init.d/apache2 restart , then you got the following error message:

Could not determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

To fix this problem, all you have to do is following instructions as follows:

  1. Open your system httpd.conf file by running:

    sudo vi /etc/apache2/httpd.conf

    in your terminal, then enter a line for ServerName. For Example:

    ServerName ryawww.myvaio.com

    after all, don’t forget to make sure you save all the changes you have made to the file.

  2. Open your system hosts file by running:

    sudo vi /etc/hosts

    in your terminal, then in the line which consists 127.0.0.1 localhost, you need to add:

    127.0.0.1 localhost.myvaio localhost ryawww.myvaio.com

    after all, don’t forget to make sure you save all the changes you have made to the file.

Try to restart your apache2 service again.

Good Luck

Advertisement

Leave a Comment

Workshop “What Is FOSS and Linux?”

The workshop will discuss the basic of FOSS and Linux.

The facilitator will be Ruth Marya, a member POSS President University.

After this workshop, there will be a regular weekly class to discuss the material included in LPI certification Level 1.

The schedule of the regular class will be announced after the workshop.

If you interesting to join the class. We are waiting for you in the above activity ๐Ÿ™‚

C U there!!!

Comments (1)