From owner-freebsd-stable@FreeBSD.ORG Wed Jun 24 09:43:27 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11CC71065675 for ; Wed, 24 Jun 2009 09:43:27 +0000 (UTC) (envelope-from cmdlnkid@gmail.com) Received: from mail-yx0-f191.google.com (mail-yx0-f191.google.com [209.85.210.191]) by mx1.freebsd.org (Postfix) with ESMTP id B3FAE8FC15 for ; Wed, 24 Jun 2009 09:43:26 +0000 (UTC) (envelope-from cmdlnkid@gmail.com) Received: by yxe29 with SMTP id 29so619093yxe.3 for ; Wed, 24 Jun 2009 02:43:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :in-reply-to:message-id:references:user-agent:x-openpgp-key-id :x-openpgp-key-fingerprint:mime-version:content-type :content-transfer-encoding; bh=EhPYiH0Imuz7fz/tCCSBrHT9b4J+klS8bdY6LKvaZgc=; b=axYDHf4aLPwJoepRw4LW6WVSl5t7zHrC5UIuFELgUgF62UxWQbcNIUU7xkYpy8A4he bsI/tux0ibQqqNfjuIZypM3fJymRKVcJ1VRoKwBNzAHg8FTgAG0uLH23U6abOQkTYQ/m jt9Ziv0QgsGLwK1LbpXC0FQVyoEo//mSy+H08= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type:content-transfer-encoding; b=XEjiv/cUyXOENKvIBq/3iixv6ln44KTPKzbXqAUfW144hZC3XVTn36/JoxjPbzmm2D qNgPo1W6tBrT11CmX2R86DA34QxNt/BUtWhAFk3yg807yW2x0k70Bdh2LeqWVVFXWSud p5ciy5QDn52Q4DmmsEaci0mDZXB0u21F0W2I0= Received: by 10.90.116.6 with SMTP id o6mr901827agc.34.1245834932344; Wed, 24 Jun 2009 02:15:32 -0700 (PDT) Received: from ?192.168.1.66? (adsl-99-56-120-202.dsl.klmzmi.sbcglobal.net [99.56.120.202]) by mx.google.com with ESMTPS id 3sm1907036aga.5.2009.06.24.02.15.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Jun 2009 02:15:31 -0700 (PDT) Date: Wed, 24 Jun 2009 05:15:17 -0400 From: CmdLnKid To: Michael Grant In-Reply-To: <62b856460906231221p10ae8d72gbe8cae84063babc5@mail.gmail.com> Message-ID: References: <615319.72378.qm@web34307.mail.mud.yahoo.com> <20090623100429.195710th19ude9z4@econet.encontacto.net> <62b856460906231221p10ae8d72gbe8cae84063babc5@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-ID: 0xDFFDD218 X-OpenPGP-Key-Fingerprint: 2924 1C72 A6C2 852A 2094 25EE 9968 2636 DFFD D218 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Cc: stable@freebsd.org, allnetgroup@yahoo.com Subject: Re: Adding multiipul virtual domains? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2009 09:43:27 -0000 On Tue, 23 Jun 2009 15:21 -0000, mg-fbsd3 wrote: > On Tue, Jun 23, 2009 at 17:04, eculp wrote: >> Quoting ALLnetgroup : >> >>> The server has 1 domain  name already setup along with: >>> >>> sendmail >>> Webmin >>> Apache Web Server >>> MySQL >>> Apache Tomcat >>> Squid Proxy >>> SOCKS5 >>> PERL >>> Mod PERL >>> PHP >>> OpenSSH >>> phpBB >>> RoundCube WebMail >>> >>> When I add a new virtual host I would like the host to have it's own >>> directory, website and the services above. > > There is nothing that I know of that will automatically "add a new > virtual domain" to a machine in all of these systems. I have my own > home brew perl scripts which do such things but they are not usable > outside my own environment. Many other people I have talked to have > done the same thing or just configured each of these individually. > > If you are not technically savvy enough to write your own > configuration management system or to modify the configuration files > individually, you might consider instead of having your own machine to > use a web hosting company which automatically installs and configures > this stuff for you via a control panel. > > Incidentally this is not the first time I have seen a need for some > larger "meta" confutation system for unix/linux in general. It's > absolutely true that adding a domain to a system is often a multi-step > process and it need not be. Like adding a user in the old days when > you first edited the passwd file, the group file, made the home > directory and copied over some dot files there, now it's all automated > in the adduser command. > > A user might have several domains, mail, one or more web sites, etc. > All of this gets configured into lots of different files. Then think > what happens when you get rid of a user. There really aught to be > some easier way which is why I ended up writing my own scripts. > > Michael Grant Might I suggest .... http://promote.pairlite.com/direct.pl?pl893 ;) <