From owner-freebsd-questions Sat Aug 23 22:37:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA11882 for questions-outgoing; Sat, 23 Aug 1997 22:37:59 -0700 (PDT) Received: from luke.cpl.net (luke.cpl.net [207.67.172.194]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA11877 for ; Sat, 23 Aug 1997 22:37:57 -0700 (PDT) Received: from localhost (shawn@localhost) by luke.cpl.net (8.8.5/8.8.5) with SMTP id WAA08189; Sat, 23 Aug 1997 22:38:55 -0700 (PDT) Date: Sat, 23 Aug 1997 22:38:54 -0700 (PDT) From: Shawn Ramsey To: Louis-Philippe Alain cc: questions@FreeBSD.ORG Subject: Re: DNS and virtual server In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I have trouble adding a new domain name to my DNS database. Here > is what I did. First of all, I created a new IP on my network card. The > new IP is 207.253.52.11 . After that, I edited /etc/named.boot and added a > new primary server entry (my domain name is registered) for my new domain > name. Then I created a file for my DNS database called > /etc/namedb/my_new_domain.qc.ca . And I finnally edited my httpd.conf file > for adding a virtual server. I thought this was the procedure. When I ping > my new domain, it return the right IP (207.253.52.11) but when I try to > get access to the www site that is suppose to be on this new domain, I get > the same document as with my old domain. And my document root in > httpd.conf are setted correctly for each domain (they don't point out to > the same document). Where should I look for mistake? Where it could be? Did you reload your web server? Posting the entry in httpd.conf would probably help as well.