From owner-freebsd-questions Thu Nov 15 14:46: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from atkielski.com (atkielski.com [161.58.232.69]) by hub.freebsd.org (Postfix) with ESMTP id 437C137B418 for ; Thu, 15 Nov 2001 14:46:04 -0800 (PST) Received: from contactdish (ASt-Lambert-101-2-1-14.abo.wanadoo.fr [193.251.59.14]) by atkielski.com (8.11.6) id fAFMjue57502; Thu, 15 Nov 2001 23:45:57 +0100 (CET) Message-ID: <009301c16e27$4b17dec0$0a00000a@atkielski.com> From: "Anthony Atkielski" To: "Gerardo Amaya G." , References: <20011115222752.15925.qmail@web20102.mail.yahoo.com> Subject: Re: Virtual Host Date: Thu, 15 Nov 2001 23:45:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Have you defined the new domain in the DNS? If the rest of the world cannot resolve the new domain name, it won't be able to reach your server. Assuming that both domains resolve to the same IP address, I do it like this (YOUR_IP_ADDRESS represents the IP address to which the server is bound): ServerName YOUR_IP_ADDRESS NameVirtualHost YOUR_IP_ADDRESS:80 ... ServerName www.domain.com DocumentRoot /www/domain ... ServerName www.other.domain.com DocumentRoot /www/other ... What symptoms do you see when you try to access www.other.domain.com? ----- Original Message ----- From: "Gerardo Amaya G." To: Sent: Thursday, November 15, 2001 23:27 Subject: Virtual Host > Hello all. > I'm working right now with a server > www.domain.com but now I want to have another address > in > other.domain.com in my httpd.conf I write this > > NameVirtualHost * > > > DocumentRoot /www/domain > ServerName www.domain.com > ... > > > > DocumentRoot /www/other > ServerName www.other.domain.com > ... > > > Ans restarted my web server, But I can not get to the > other.domain.com. I guess is something with DNS. > What is that I should do to make it work??? > > thanks > > Gerardi > > __________________________________________________ > Do You Yahoo!? > Find the one for you at Yahoo! Personals > http://personals.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message