httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank M. Ramaekers" <>
Subject [users@httpd] VirtualHost and default domain
Date Wed, 09 Jan 2008 20:25:42 GMT
I have successfully setup three virtual hosts.

<VirtualHost *>
  DocumentRoot /var/www/html

<VirtualHost *>
  DocumentRoot /home/www/xyz

This seems to work fine except when only the xyz host name is type (i.e.
without the domain name entered)

abc			->	/var/www/html	->	/var/www/html
def			->	/var/www/html
xyz			->	/var/www/html *WRONG*	->	/home/www/xyz

Is there anything that can be configured in Apache to handle this?  I
want to enter the host name only (abc, def or xyz) and receive the
correct site.


Frank M. Ramaekers Jr.
Systems Programmer                   MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Co.   Phone: (254)761-6649
1200 Wooded Acres Dr.                Fax:   (254)741-5777
Waco, Texas  76701


This message contains information which is privileged and confidential and is solely for the
use of the
intended recipient. If you are not the intended recipient, be aware that any review, disclosure,
copying, distribution, or use of the contents of this message is strictly prohibited. If you
received this in error, please destroy it immediately and notify us at

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message