Tag Archives: localhost

Can’t ping localhost in Linux

Can’t ping localhost in Linux | $ ping localhost ping: unknown host localhost If you ever find yourself in a situation where you cannot ping localhost, I’ll show you a few things to check! /etc/hosts Verify that the /etc/hosts file has entires for localhost which looks like the following: 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback /etc/nsswitch.conf The file /etc/nsswitch.conf requires specific

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

Could not reliably determine the server’s fully qualified domain name | After the initial install of Apache in Ubuntu, you’ll first see this message below: stmiller@brahms:~$ sudo /etc/init.d/apache2 restart * Restarting web server apache2 apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName … waiting apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName