--- kloomis <[EMAIL PROTECTED]> wrote:

> At 03:33 PM 10/6/2005 -0700, you wrote:
> >kloomis wrote:
> >>I'm having no luck with virtual hosts.
> >>My hosts file reads: 127.0.0.1 myDomain.com
> localhost.localdomain 
> >>localhost asus
> >>(do I need a test.myDomain.com in here?)
> >
> >Yes I believe you do.  Though it maybe should go
> through a DNS server, but 
> >this isn't a live domain.  So that will work.
> 
> Both myDomain.com and test.myDomain.com point to the
> IP address of my cable 
> modem. (They have real names I'm not showing here.)
> 
> >Are you restarting the server after every change?
> 
> Yes.
> 
> Ken

Ken,

Try adding a "ServerAlias" directive to each of your
vhost containers. So add:

ServerAlias MyDomain.com (to the MyDomain vhost)
ServerAlias test.MyDomain.com (to the test vhost)

Then restart apache and see if that helps.

Thanks
-Nick


                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to