From owner-freebsd-stable@FreeBSD.ORG Tue Jun 23 19:42:39 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 29F4F1065675 for ; Tue, 23 Jun 2009 19:42:39 +0000 (UTC) (envelope-from michael.grant@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id AD9558FC24 for ; Tue, 23 Jun 2009 19:42:38 +0000 (UTC) (envelope-from michael.grant@gmail.com) Received: by ewy8 with SMTP id 8so459381ewy.43 for ; Tue, 23 Jun 2009 12:42:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=RzTgA3/NJPG1X0tNJpFFRQZ5/gHyLxrYxcrGmMGB9Zo=; b=RuQ9n2b8pwy5mSqkd2p/7KKD/ru24iuLuM6GmG4MaqGSnaI/pwDeynRW6umX92cKPy K2/FUJMFJs+86v69A4ZqKq+dmJzisDiBRY6qDAs1uWo+7PLd7olbazDc7VKyiFCmPTYd NEz5tecb0WLuw6h+I4+G6bigJEXmSAd83SmtU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=GxWT4st0Mt6LEt/4zN10pnDa+xE+B2DAhnJF472+jAfUuNPwZ/VMxEQ4pFD25EcRju 2HX4assQS9onXLXVhjkGr6aEv8J4f2ljQEZawkOs2HTLeGxX1ZX+eCG6RPgMFpSbenFh jMTtPNRD070c6Hvj9ZkReQvNy0gfTFuT8vkC8= MIME-Version: 1.0 Sender: michael.grant@gmail.com Received: by 10.216.28.200 with SMTP id g50mr118535wea.203.1245784874030; Tue, 23 Jun 2009 12:21:14 -0700 (PDT) In-Reply-To: <20090623100429.195710th19ude9z4@econet.encontacto.net> References: <615319.72378.qm@web34307.mail.mud.yahoo.com> <20090623100429.195710th19ude9z4@econet.encontacto.net> Date: Tue, 23 Jun 2009 21:21:13 +0200 X-Google-Sender-Auth: 77af985d8581e15d Message-ID: <62b856460906231221p10ae8d72gbe8cae84063babc5@mail.gmail.com> From: Michael Grant To: allnetgroup@yahoo.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: stable@freebsd.org 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: Tue, 23 Jun 2009 19:42:39 -0000 On Tue, Jun 23, 2009 at 17:04, eculp wrote: > Quoting ALLnetgroup : > >> The server has 1 domain=A0 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=A0and 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