Hi men I am getting issues with the next virtual hosts:
<VirtualHost *:80> ServerAdmin website owner@localhost ServerName world wide web.domain1.com ServerAlias domain1.com *.domain1.com DocumentRoot /var/world wide web/vvr <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/world wide web/vvr> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow all </Directory> </VirtualHost> <VirtualHost *:80> ServerAdmin firstname.lastname@example.org ServerName world wide web.domain2.com ServerAlias domain2.com *.domain2.com # Send servlet for context / jsp-good examples to worker named worker1 JkMount / worker1 JkMount /domainDocuments worker1 # Send JSPs for context /jsp-good examples/* to worker named worker1 JkMount /* worker1 JkMount /domainDocuments/* worker1
This configuration is working after i enter world wide web.domain1.com, however, if I attempt to gain access to just the domain title:
http://domain1.com , The website is redirecting me to world wide web.domain2.com? How can this be hapenning. Thanks alot.
Your VirtualHost definitions look great in my experience. You may look at your .htaccess file to make certain you will find no redirects delivering domain1.com to world wide web.domain2.com.