Another Virtual Domain prob. - only default domain seen

Giganews Newsgroups
Subject: Another Virtual Domain prob. - only default domain seen
Posted by:  Adam Smith (adamsmi…@econ.com)
Date: Fri, 11 Jul 2008

Apache 2.x on FreeBSD box O/S 6.x BIND named 9.31

multiple domains => 1 IP #
Resolves ok
ping, dig, host and nslookup points to IP #

Could anyone one see a 'boo boo' here

Thanks
__________________________________

Pointing browser to any of the hosts reverts to default host

I've been to wrestling with this problem all week long, read all
postings I can find and still no solution. Must me something so obvious
that I can not see it, so I need other eyes to look at it.

#
# Use name-based virtual hosting.
#

NameVirtualHost *:8080

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#

# <VirtualHost *:8080>
# DocumentRoot "/usr/local/apache2/htdocs/"
# ServerAdmin webmast…@olaf.com
# ErrorLog /usr/local/apache2/logs/error_log
# CustomLog /usr/local/apache2/logs/access_log common
# <Directory "/usr/local/apache2/htdocs/">
# allow from all
# Options +Indexes
# </Directory>
# </VirtualHost>

<VirtualHost *:8080>
DocumentRoot "/usr/www/vhosts/olaf.com/httpdocs/"
ServerName olaf.com
ServerAdmin webmast…@olaf.com
ErrorLog /usr/local/apache2/logs/error_log
CustomLog /usr/local/apache2/logs/access_log common
<Directory "/usr/local/apache2/htdocs/">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

# <VirtualHost *:8080>
# DocumentRoot "/usr/local/apache2/htdocs/www/vhosts/olaf.com/httpdocs/"
# ServerAdmin webmast…@olaf.com
# ErrorLog /usr/local/apache2/logs/error_log
# CustomLog /usr/local/apache2/logs/access_log common
# <Directory "/usr/local/apache2/htdocs/www/vhosts/olaf.com/httpdocs/">
# allow from all
# Options +Indexes
# </Directory>
# </VirtualHost>

<VirtualHost *:8080>
DocumentRoot "/usr/www/vhosts/mimic.org/httpdocs/"
ServerName mimic.org
ServerAdmin mimic.webmast…@olaf.com
ErrorLog /usr/www/vhosts/mimic.org/error_log
CustomLog /usr/www/vhosts/mimic.org/access_log common
<Directory "/usr/www/vhosts/mimic.org/httpdocs/">
allow from all
Options +Indexes

</Directory>
</VirtualHost>

<VirtualHost *:8080>
DocumentRoot "/usr/www/vhosts/xtufd.org/httpdocs/"
ServerName xtufd.org
ServerAdmin xtufd.webmast…@olaf.com
ErrorLog /usr/www/vhosts/xtufd.org/error_log
CustomLog /usr/www/vhosts/xtufd.org/access_log common
<Directory "/usr/www/vhosts/xtufd.org/httpdocs/">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

<VirtualHost *:8080>
DocumentRoot "/usr/www/vhosts/sodas4all.biz/httpdocs/"
ServerName sodas4all.biz
ServerAdmin sodas.webmast…@olaf.com
ErrorLog /usr/www/vhosts/sodas4all.biz/error_log
CustomLog /usr/www/vhosts/sodas4all.biz/access_log common
<Directory "/usr/www/vhosts/sodas4all.biz/httpdocs/">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

<VirtualHost *:8080>
DocumentRoot "/usr/www/vhosts/tango4all.biz/httpdocs/"
ServerName tango4all.biz
ServerAdmin tango.webmast…@olaf.com
ErrorLog /usr/www/vhosts/tango4all.biz/error_log
CustomLog /usr/www/vhosts/tango4all.biz/access_log common
<Directory "/usr/www/vhosts/tango4all.biz/httpdocs/">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

<VirtualHost *:8080>
DocumentRoot "/usr/www/vhosts/chachacha.com/httpdocs/"
ServerName chachacha.com
ServerAdmin mimic.webmast…@olaf.com
ErrorLog /usr/www/vhosts/chachacha.com/error_log
CustomLog /usr/www/vhosts/chachacha.com/access_log common
<Directory "/usr/www/vhosts/chachacha.com/httpdocs/">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

<VirtualHost *:8080>
DocumentRoot "/usr/www/vhosts/sodas4all.com/httpdocs/"
ServerName sodas4all.com
ServerAdmin sodas4all.webmast…@olaf.com
ErrorLog /usr/www/vhosts/sodas4all.com/error_log
CustomLog /usr/www/vhosts/sodas4all.com/access_log common
<Directory "/usr/www/vhosts/sodas4all.com/httpdocs/">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

<VirtualHost *:8080>
DocumentRoot "/usr/www/vhosts/we32.biz/httpdocs/"
ServerName we32.biz
ServerAdmin we32.webmast…@olaf.com
ErrorLog /usr/www/vhosts/we32.biz/error_log
CustomLog /usr/www/vhosts/we32.biz/access_log common
<Directory "/usr/www/vhosts/we32.biz/httpdocs">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

<VirtualHost *:8080>
DocumentRoot "/usr/www/vhosts/staccato.com/httpdocs/"
ServerName staccato.com
ServerAdmin allegro.webmast…@olaf.com
ErrorLog /usr/www/vhosts/staccato.com/error_log
CustomLog /usr/www/vhosts/staccato.com/access_log common
<Directory "/usr/www/vhosts/staccato.com/httpdocs">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

<VirtualHost *:8080>
DocumentRoot "/usr/www/vhosts/allegro.biz/httpdocs/"
ServerName allegro.biz
ServerAdmin allegro.webmast…@olaf.com
ErrorLog /usr/www/vhosts/allegro.biz/error_log
CustomLog /usr/www/vhosts/allegro.biz/access_log common
<Directory "/usr/www/vhosts/allegro.biz/httpdocs">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

<VirtualHost *:8080>
DocumentRoot "/usr/www/vhosts/pianos4all.biz/httpdocs/"
ServerName pianos4all.biz
ServerAdmin pianos4all.webmast…@olaf.com
ErrorLog /usr/www/vhosts/pianos4all.biz/error_log
CustomLog /usr/www/vhosts/pianos4all.biz/access_log common
<Directory "/usr/www/vhosts/pianos4all.biz/httpdocs">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

<VirtualHost *:8080>
DocumentRoot "/usr/www/vhosts/olaf.biz/httpdocs/"
ServerName olaf.biz
ServerAdmin biz.webmast…@olaf.com
ErrorLog /usr/www/vhosts/olaf.biz/error_log
CustomLog /usr/www/vhosts/olaf.biz/access_log common
<Directory "/usr/www/vhosts/olaf.biz/httpdocs">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

<VirtualHost *:8080>
DocumentRoot "/usr/www/vhosts/saywho.biz/httpdocs/"
ServerName saywho.biz
ServerAdmin saywho.webmast…@olaf.com
ErrorLog /usr/www/vhosts/saywho.biz/error_log
CustomLog /usr/www/vhosts/saywho.biz/access_log common
<Directory "/usr/www/vhosts/saywho.biz/httpdocs">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

<VirtualHost *:8080>
DocumentRoot "/usr/www/vhosts/incredible.info/httpdocs/"
ServerName incredible.info
ServerAdmin incred.webmast…@olaf.com
ErrorLog /usr/www/vhosts/incredible.info/error_log
CustomLog /usr/www/vhosts/incredible.info/access_log common
<Directory "/usr/www/vhosts/incredible.info/httpdocs">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

____________________________________________

/usr/local/apache2/bin/httpd -S

VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:8080                is a NameVirtualHost
          default server olaf.com
(/usr/local/apache2/conf/extra/httpd-vhosts.conf:40)
          port 8080 namevhost olaf.com
(/usr/local/apache2/conf/extra/httpd-vhosts.conf:40)
          port 8080 namevhost mimic.org
(/usr/local/apache2/conf/extra/httpd-vhosts.conf:65)
          port 8080 namevhost xtufd.org
(/usr/local/apache2/conf/extra/httpd-vhosts.conf:78)
          port 8080 namevhost sodas4all.biz
(/usr/local/apache2/conf/extra/httpd-vhosts.conf:90)
          port 8080 namevhost tango4all.biz
(/usr/local/apache2/conf/extra/httpd-vhosts.conf:102)
          port 8080 namevhost chachacha.com
(/usr/local/apache2/conf/extra/httpd-vhosts.conf:114)
          port 8080 namevhost sodas4all.com
(/usr/local/apache2/conf/extra/httpd-vhosts.conf:126)
          port 8080 namevhost we32.biz
(/usr/local/apache2/conf/extra/httpd-vhosts.conf:138)
          port 8080 namevhost staccato.com
(/usr/local/apache2/conf/extra/httpd-vhosts.conf:150)
          port 8080 namevhost allegro.biz
(/usr/local/apache2/conf/extra/httpd-vhosts.conf:162)
          port 8080 namevhost pianos4all.biz
(/usr/local/apache2/conf/extra/httpd-vhosts.conf:174)
          port 8080 namevhost olaf.biz
(/usr/local/apache2/conf/extra/httpd-vhosts.conf:186)
          port 8080 namevhost saywho.biz
(/usr/local/apache2/conf/extra/httpd-vhosts.conf:198)
          port 8080 namevhost incredible.info
(/usr/local/apache2/conf/extra/httpd-vhosts.conf:210)
Syntax OK

Replies