> From: Tung Nguyen Thanh [mailto:[EMAIL PROTECTED]]

>
>  I can't run Virtual Host in Apache Webserver in Linux
> RedHat 7.0
>  The site I creat in httpd.conf when I want to display
> on browser only index to a DocumentRoot of the first
> site.
>
>
> ServerRoot "/usr/local/apache"
> ServerName www.linux_vn.com

To start, underscores "_" are not a legal character in hostnames.  It is a
bad idea to use them.

Second, please read http://httpd.apache.org/docs/vhosts/name-based.html
This explains in detail that the "main server" document root will never be
used for an IP
address that has name-virtual-hosting.  Instead, you should setup a second
name virtual host that answers for what was the main server.

Joshua.

Reply via email to