Virtual Host not at intended address
Hello!
Right now my server has a total of 2 sub-domains. Forums, and Mail. I wish to add another, called jabber, but I wish for it to be on port 9000.
So far this hasn't worked.
Here is my configuration for the VirtualHosts, with the new vhost appended.
Code:
<VirtualHost *:80>
DocumentRoot /var/www/virtual/forums
ServerName forums.kylesplace.org
ServerAlias forums.kylesplace.org
# Other directives here
<Directory /var/www/virtual/forums>
Options +Includes Indexes FollowSymLinks +ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /var/www/virtual/mail
ServerName mail.kylesplace.org
ServerAlias mail.kylesplace.org
# Other directives here
<Directory /var/www/virtual/mail>
Options +Includes Indexes FollowSymLinks +ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
####
#jwchat vhost
Loadmodule jk_module modules/mod_jk.so
JkWorkersFile /etc/httpd/conf/workers2.properties
JkLogFile /etc/httpd/logs/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# serve all java server pages from Tomcat
JkMount /*.jsp ajp13
<VirtualHost *:9000>
DocumentRoot /var/www/virtual/jwchat
ServerName jabber.kylesplace.org
ServerAlias jabber.kylesplace.org
# Other directives here
<Directory /var/www/virtual/jwchat>
Options +Includes Indexes +MultiViews FollowSymLinks +ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Now if you navigate to jabber.kylesplace.org:9000 you'l get the corrrect page. But if you navigate to www.kylesplace.org:9000 you'll also get the correct page. So my question is, how do I stop all subdomains except jabber* from listening on port 9000