thedude # ping localhost PING thedude.lebowski.com (4.20.4.20) 56(84) bytes of data. 64 bytes from thedude.lebowski.com (4.20.4.20): icmp_seq=1 ttl=64 time=0.059 ms thedude # /etc/init.d/apache2 restart * Stopping apache2 ... [Sat Dec 29 03:13:44 2007] [warn] NameVirtualHost www.walter.com:80 has no VirtualHosts [Sat Dec 29 03:13:44 2007] [warn] NameVirtualHost www.donnie.com:80 has no VirtualHosts [ ok ] * Starting apache2 ... [Sat Dec 29 03:13:45 2007] [warn] NameVirtualHost www.walter.com:80 has no VirtualHosts [Sat Dec 29 03:13:45 2007] [warn] NameVirtualHost www.donnie.com:80 has no VirtualHosts httpd (pid 21105) already running [ ok ] ### File: /etc/conf.d/apache2 APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D SSL_DEFAULT_VHOST -D SUEXEC -D PHP5" ### File: vhosts.d/default_vhost.include ### ServerName thedude.lebowski.com:80 DocumentRoot "/var/www/lebowski.com" Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all ScriptAlias /cgi-bin/ "/var/www/localhost/cgi-bin/" AllowOverride None Options None Order allow,deny Allow from all # vim: ts=4 filetype=apache ### File: vhosts.d/00_default_vhost.conf ### Listen 80 NameVirtualHost *:80 Include /etc/apache2/vhosts.d/default_vhost.include ServerEnvironment apache apache # vim: ts=4 filetype=apache ### File: /etc/apache2/vhosts.d/20_www.nihilists.com.conf ### NameVirtualHost www.nihilists.com:80 AllowOverride All allow from all ServerName www.nihilists.com DocumentRoot /var/www/nihilists.com ### File: /etc/apache2/vhosts.d/30_www.walter.com.conf ### NameVirtualHost www.walter.com:80 AllowOverride All allow from all ServerName www.walter.com DocumentRoot /var/www/walter.com #### And donnie is set up the same way as the other vhosts RESULTS: lebowski.com -> redirects to nihilists (ed. they dont care about anything) nihilists.com -> works as expected walter.com -> works as expected despite warnings donnie.com -> works as expected despite warnings