Debian // Could not reliably determine the server’s fully qualified domain name

When you try restarting your apache server and get this error:

    [....] Restarting web server: apache2apache2: apr_sockaddr_info_get() failed for "yourdomain"
    apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

 

You have this error because you didn’t specified the server name to which your web server will respond to.

To solve this, open “/etc/apache2/apache2.conf” file.

    nano /etc/apache2/apache2.conf

 

Add at the end of the file, add a server name

    ServerName "yourdomain.com"

 

Now restart your apache server:

    service apache2 restart

 

PS: If you’re not admin, use “sudo” command before any of these instructions.
That’s all :).

Advertisements
Debian // Could not reliably determine the server’s fully qualified domain name

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s