From owner-freebsd-questions Sun Jan 24 21:21:59 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA18713 for freebsd-questions-outgoing; Sun, 24 Jan 1999 21:21:59 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from frontier.netnology.com.au (frontier.netnology.com.au [203.33.30.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA18706 for ; Sun, 24 Jan 1999 21:21:56 -0800 (PST) (envelope-from craig@hotmix.com.au) Received: from superbruce (superbruce.netnology.com.au [203.33.30.10]) by frontier.netnology.com.au (8.8.7/8.8.7) with SMTP id NAA03010; Mon, 25 Jan 1999 13:53:18 +0800 From: Craig Beasland To: "'george vagner'" Cc: "'FreeBSD Questions List'" Subject: RE: named Date: Mon, 25 Jan 1999 13:27:50 +0800 Message-ID: <01C7F728BCABD211860B00C0261004192C58@ABERDEEN> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <01C7F728BCABD211860B00C0261004198932@ABERDEEN> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG George, You need to add entries to the file /etc/namedb/named.boot (at least that is what it is called on my system). So primary foo.com foo.com.db Then you create the file foo.com.db (in the same directory) which contains the information for foo.com including a record for www.foo.com. The samples are pretty good, but the book by Albitz & Liu DNS and Bind published by O'Reilly & Associates was the only way I could figure this stuff out. As for serving up different sites with apache I cant help, because I am having problems of my own - see my post re: Apache Questions). cheers craig -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of george vagner Sent: Monday, 25 January 1999 11:05 To: questions@FreeBSD.ORG Subject: named what file is it that i tell my system to answer to requests for 2 or more domain names. what i am trying to do is host more than one domain on my server and use it to bring up different web pages based on the names. I need to tell my system what names to answer to like www.blah.com and www.foo.com etc... I am running named but dont know what to edit to fix this. 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