Quote:
Hey, do you mean this error?
Quote:
Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Since I have "ServerName localhost" in the VirtualHost section, I don't see why I'm getting this.
|
Yes I mean this warning (not error). If you want to get rid of it you should use a ServerName in /etc/apache2/conf.d/local.
Quote:
And don't know why I can't connect to localhost.
BTW, the message I get in the browser is:
Quote:
The requested URL / was not found on this server.
Again, I don't get this message when I use 192.168.1.20
|
You do connect to localhost, but it cannot show you the index page, because it somehow uses a wrong DocumentRoot (/htdocs) according to your logs.
Anyway create a file xxx.htm in /var/www/localhost, point your browser to
http://localhost/xxx.htm and watch the error_log.
If it doesn't work. post the error and also the output of:
Code:
ls -l /var/www
ls -l /var/www/localhost