Created
June 9, 2014 14:12
-
-
Save h4cc/10e75521ecd3f78ee4c5 to your computer and use it in GitHub Desktop.
How to fix Apache – "Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName" Error on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Write the ServerName for apache2 in a custom config file: | |
echo 'ServerName localhost' > /etc/apache2/conf.d/servername | |
# Restart d'a Server! | |
service apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment