I have successfully set up two virtual servers on my Debian Squeeze Linode. My browser sees both sites, and both are operating normally. But when I restart Apache, I get this:
root@everything: /etc/init.d/apache2 reload
Reloading web server config: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[warn] NameVirtualHost *:80 has no VirtualHosts
Can anyone tell me why I get this warning?
Here is one of the two files, bookgenius.org, that's in the sites-available directory:
<VirtualHost bookgenius.org:80>
#<VirtualHost 72.14.179.185:80>
# Admin email, Server Name (domain name) and any aliases
ServerAdmin
morgan@bookgenius.org
ServerName bookgenius.org
ServerAlias
www.bookgenius.org www.bookgenius.com bookgenius.com
# Index file and Document Root (where the public files are located)
DirectoryIndex index.html
DocumentRoot /var/www/bookgenius.org/html/
# CGI Directory
ScriptAlias /cgi-bin/ /var/www/bookgenius.org/cgi-bin/
<Location /cgi-bin>
Options +ExecCGI
AddHandler cgi-script .pl
</Location>
# Custom log file locations
LogLevel warn
ErrorLog /var/www/bookgenius.org/logs/error.log
CustomLog /var/www/bookgenius.org/logs/access.log combined
</VirtualHost>
Thanks,
- Chris