From owner-freebsd-questions Mon Apr 17 3:39:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gargoyle.apana.org.au (brisba6.lnk.telstra.net [139.130.66.200]) by hub.freebsd.org (Postfix) with ESMTP id E363337B524 for ; Mon, 17 Apr 2000 03:39:32 -0700 (PDT) (envelope-from dougy@gargoyle.apana.org.au) Received: (from uucp@localhost) by gargoyle.apana.org.au (8.8.8/8.8.8) id UAA08266; Mon, 17 Apr 2000 20:39:14 +1000 (EST) (envelope-from dougy@gargoyle.apana.org.au) Received: from roadrunner.apana.org.au(203.3.126.132), claiming to be "ROADRUNNER" via SMTP by gargoyle.apana.org.au, id smtpdiT8262; Mon Apr 17 20:39:09 2000 Message-ID: <010601bfa859$68aa7320$847e03cb@ROADRUNNER> From: "Doug Young" To: "Bryan Bradsby" Cc: References: Subject: Re: DNS for virtual hosting Date: Mon, 17 Apr 2000 20:40:53 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.5600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.5600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for the response Bryan > MX records pointing mail for "someplace_else.com" to your sendmail server. > See the sendmail docs on VirtualUserTable to see how to setup to receive > and deliver the incoming mail. OK .... strangely enough I haven't had a lot of problems recently with configuring sendmail despite the many adverse comments I've heard about it, mind you I did stumble across a one page setup text intended for Redhat that covered the basics quite well > > Two possible solutions here. I like number 2. Agreed .... I've got public IP addresses but would rather not waste them. However I haven't a clue in the world what you mean by "virtual IP". & exactly where to put the "zone file" ?? I haven't been to the site you provided yet, hopefully that will answer those queries. > > 1. Use one IP for each virt web site. (wasteful). > Your zone file would look something like this: > > www.someplace_else.com in a www.xxx.yyy.zzz ; virtual IP > > > 2. Use one IP for the apache server, and virtual web sites. > > www.someplace_else.com in CName somewhere.net. > www.another_one.com in CName somewhere.net. > > Of course number 2 has implications in your apache httpd.conf file. I printed out about 37 pages of Apache docs that appear to cover the issue of name based virtual hosting fairly well ..... at this point I don't expect to have a problem with configuring apache, its just the DNS stuff thats got me confused. > > You need DNS primary and secondary on two separate servers. Preferably > geographically diverse. By "geographically diverse" do you mean that the record for "someplace_else.com" has to be in another location than the "somewhere.net" machine before INTERNIC will recognize the "somewhere.net" machine as a "proper" DNS server ?? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message