Software

Apache “cannot resolve host name”

When this annoying little warning occurs you can just make Apache default to localhost by:

sudo vi /etc/apache2/httpd.conf

Then adding this line to that file:

ServerName localhost

After, just restart Apache.

Advertisements