From owner-freebsd-isp Fri Sep 24 16:31:29 1999 Delivered-To: freebsd-isp@freebsd.org Received: from agora.neteze.com (agora.neteze.com [208.201.249.4]) by hub.freebsd.org (Postfix) with ESMTP id 266B315277 for ; Fri, 24 Sep 1999 16:31:21 -0700 (PDT) (envelope-from kc@neteze.com) Received: from admin1 ([208.201.249.51]) by agora.neteze.com (Post.Office MTA v3.5.3 release 223 ID# 0-62409U9000L900S0V35) with SMTP id com for ; Fri, 24 Sep 1999 16:34:30 -0700 Message-ID: <010101bf06e5$119247e0$33f9c9d0@neteze.com> From: "Kelsey Cummings" To: Subject: many third level domains -- looking for advice Date: Fri, 24 Sep 1999 16:32:29 -0700 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.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've got a customer who wants to sell third level domains with small virtual webs and one email account. I've agreed to do it, but I'm trying to figure out the best way to provide him this service. Its unfortunate that bind doesn't support wildcards in A records (it doesn't right?) otherwise DNS configuration would be very simple. As far as I can tell apache doesn't have an way of doing regex matching in the configs (at least as would be needed for this setup) ie: *.hisdomain.com IN A www.hisdomain.com ServerName $1.hisdomain.com DocumentRoot /usr/home/user/www/$1 That would just be too easy. :( Has anyone setup something similar? How did you do it? Also -- If I setup a large number of virtual hosts in this manner (he's talking about 300 or so) I'd like to point all of his virtual hosts logs to the same file:: does this work or cause corruption of the logs? The only other way I could think of accomplishing it would be to run a seperate httpd for him, where the logs for the virtual host would be inherited from the main server, correct? ServerName 1.hisdomain.com DocumentRoot /usr/home/user/www/1 CustomLog usr/home/user/access-log combined ServerName 2hisdomain.com DocumentRoot /usr/home/user/www/2 CustomLog /usr/home/user/access-log combined /VirtualHost> Hope this makes some sense. Thanks in advance. ----------------------------------------------------------------- Kelsey Cummings System Administrator NetEase, Inc. kc@neteze.com ----------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message