VirtualHost - I'm Clueless?
I'm setting up a new webserver, and cannot for the life of me figure out what's wrong here. (It's probably just me being a n00b with actually using VirtualHosts. I'm used to depending on cPanel/WHM on my other box.)When reloading Apache, I get this warning:
Code:
[Thu Mar 02 22:00:13 2006] [warn] NameVirtualHost *:80 has no VirtualHosts
Code:
# Listen everywhere for
NameVirtualHost *:80
<VirtualHost *:80>
#LogSQLTransferLogTable access_log
LogSQLTransferLogFormat AbHhmRSsTUuv
ServerName ttwagner.com
ServerAlias ttwagner.com www.ttwagner.com
DocumentRoot /var/www/ttwagner.com/htdocs
DirectoryIndex index.php index.html
</VirtualHost>
<VirtualHost *:80>
#LogSQLTransferLogTable access_log
LogSQLTransferLogFormat AbHhmRSsTUuv
ServerName test.ttwagner.com
DocumentRoot /home/n1zyy/public_html
DirectoryIndex index.php index.html
</VirtualHost>
<VirtualHost *:80>
#LogSQLTransferLogTable access_log
LogSQLTransferLogFormat AbHhmRSsTUuv
ServerName 72.36.178.234
DocumentRoot /var/www/72.36.178.234/htdocs
DirectoryIndex index.php index.html
</VirtualHost>

