[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Setting up a single admin user for multiple sites



<johan@xxxxxxxxxxxxxxx> wrote:
> We are busy moving some client 100 domains from a FreeBSD server to a RaQ
4i.
> One of these clients own 50 odd domains, and require a single admin user
access
> to manage all those.

The way I do it is to create a directory like the following for the client:

/home/sites/siteX/

Then I add directories for each site:

/home/sites/siteX/www.domain-1.tld/
/home/sites/siteX/www.domain-2.tld/
/home/sites/siteX/www.domain-n.tld/

Then I create the sites manually within httpd.conf (actually an include file
called from httpd.conf) by adding a VirtualHost block for each site.  They
look like all other VirtualHost blocks, except the DocumentRoot is modified:

DocumentRoot /home/sites/siteX/www.domain-n.tld/web

If the sites are added to Apache manually and you want email for the domains
then you'll need to manually edit aliases and virtusertable.  If you create
the sites through the GUI you'll just have to edit the httpd.conf file.  I
*rarely* use the GUI so it's possible there's something this solution
affects that I don't recall.  I am always working from the shell so I find
it faster to manage users, sites, email, etc. from the shell.  The solution
above will allow the user to access all sites from a single parent directory
via the shell (ssh or [gasp] telnet) or FTP.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/