From owner-freebsd-questions Sat Aug 23 20:44:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA03465 for questions-outgoing; Sat, 23 Aug 1997 20:44:06 -0700 (PDT) Received: from mail.boisfrancs.qc.ca (mail.boisfrancs.qc.ca [207.253.52.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA03460 for ; Sat, 23 Aug 1997 20:44:03 -0700 (PDT) Received: from liloo.boisfrancs.qc.ca (ppp17.boisfrancs.qc.ca [207.253.52.38]) by mail.boisfrancs.qc.ca (8.8.5/8.8.5) with SMTP id XAA13402 for ; Sat, 23 Aug 1997 23:48:53 -0400 (EDT) Date: Sat, 23 Aug 1997 23:43:39 -0400 (EDT) From: Louis-Philippe Alain To: questions@freebsd.org Subject: DNS and virtual server 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 Hi, 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? Thanks a lot! Louis-Philippe Alain