Author Topic: structure catalog for clients  (Read 157 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
structure catalog for clients
« on: December 10, 2018, 11:03:52 AM »
Hi!

Default structure^
/home/client1/public_html

But need:
/var/www/clients/client1
/var/www/clients/client1/domain1
/var/www/clients/client1/domain2

/home/client1/public_html is symlink on /var/www/clients/client1

All domain has:
/var/www/clients/client1/domain1/log
/var/www/clients/client1/domain1/tmp
/var/www/clients/client1/domain1/web - all files
/var/www/clients/client1/domain1/cgi-bin

How to create this structure?

Offline
*
Re: structure catalog for clients
« Reply #1 on: December 11, 2018, 08:52:56 AM »
you can place domains only inside users home folder, example

main domain
/home/client1/public_html

other domains example
/home/client1/domain1.com
/home/client1/domain2.com
or
/home/client1/vhosts/domain2.com
/home/client1/vhosts/domain3.com
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: structure catalog for clients
« Reply #2 on: December 11, 2018, 12:09:09 PM »
CWP6.

Is it possible to create the necessary directory structure when creating a client (domain)? (automatic)

Need hook (after, before). It's possible?
« Last Edit: December 11, 2018, 12:50:11 PM by BelKoD »