Author Topic: add domains to same user account folder structure  (Read 1130 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
add domains to same user account folder structure
« on: March 02, 2017, 03:52:53 PM »
Hi

When adding new domain the default is to use the default public_html folder.

I would suggest to make the folder structure as such:

/home/user/domains/XXX.TLD/public_html/

In that way u have a default and files outside of the webroot still can easily be placed in the right domain folder if belonging to specific domain,
its easy to implement in the function into existing folder creation upon adding domain.