Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 15538 invoked from network); 26 Mar 2004 18:42:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Mar 2004 18:42:40 -0000 Received: (qmail 96661 invoked by uid 500); 26 Mar 2004 18:42:17 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 96647 invoked by uid 500); 26 Mar 2004 18:42:16 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 96633 invoked from network); 26 Mar 2004 18:42:16 -0000 Received: from unknown (HELO out2.smtp.messagingengine.com) (66.111.4.26) by daedalus.apache.org with SMTP; 26 Mar 2004 18:42:16 -0000 X-Sasl-enc: Gs+AC/d7YTSAunbRix8brQ 1080326538 Received: from HEC-4949.hec.ca (unknown [132.211.188.107]) by mail.messagingengine.com (Postfix) with ESMTP id 9486C888B9B for ; Fri, 26 Mar 2004 13:42:18 -0500 (EST) Date: Fri, 26 Mar 2004 13:42:41 -0500 (Est) From: Joshua Slive To: users@httpd.apache.org In-Reply-To: Message-ID: References: X-X-Sender: slive@fastmail.fm@mail.messagingengine.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Problems with virtualhost's with Apache2.0...... X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Fri, 26 Mar 2004, Ralph Crongeyer wrote: > For some reasion Apache isn't answering to my second domain (Virtual > Host)? > > I have a DNS entry, and when I ping the second domainname, it is > pointnig to the right IP address, so that's working. when I try to use a > browser to go to www.domain2.com it just puts me into the > www.domain1.com site? > > What am I doing wrong? > > My config file is attached. [Please post in plain-text-only, and please post only relevant excepts from httpd.conf, like this:] NameVirtualHost My.IP.Address:80 DocumentRoot /var/www/html ServerName www.domain1.com DocumentRoot /var/www/domain2 ServerName www.domain2.com I don't know where you got that from. Please follow the instructions here: http://httpd.apache.org/docs-2.0/vhosts/name-based.html#using (Use *:80 in place of your ip address and _default_). Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org