Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2009 21:21:13 +0200
From:      Michael Grant <mg-fbsd3@grant.org>
To:        allnetgroup@yahoo.com
Cc:        stable@freebsd.org
Subject:   Re: Adding multiipul virtual domains?
Message-ID:  <62b856460906231221p10ae8d72gbe8cae84063babc5@mail.gmail.com>
In-Reply-To: <20090623100429.195710th19ude9z4@econet.encontacto.net>
References:  <615319.72378.qm@web34307.mail.mud.yahoo.com> <20090623100429.195710th19ude9z4@econet.encontacto.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 23, 2009 at 17:04, eculp<eculp@encontacto.net> wrote:
> Quoting ALLnetgroup <allnetgroup@yahoo.com>:
>
>> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62b856460906231221p10ae8d72gbe8cae84063babc5>