Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
How to
»
structure catalog for clients
« previous
next »
Print
Pages: [
1
]
Author
Topic: structure catalog for clients (Read 6577 times)
0 Members and 1 Guest are viewing this topic.
BelKoD
Newbie
Posts: 2
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?
Logged
studio4host
NOC Partner
Hero Member
Posts: 1331
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
Logged
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.
BelKoD
Newbie
Posts: 2
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
»
Logged
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
How to
»
structure catalog for clients