document root from other user

Kyo

Verified User
Joined
Jul 12, 2021
Messages
137
i want to access document root from other user here is exactly what I want URL https://domain.com/clientarea DOCRoot /home/clientarea/domains/domainNAME/public_html but remember, domain.com/ will be loaded from /home/username/domains/domain.com/public_html, so we will have 2 user 1 willl hold domain.com and 1 will hold clientarea but when customer access https://domain.com/clientarea it will not know that we have two users

mean user1 will be from https://domain.com/ and user2 will hold clientarea folder

required result https://domain.com/clientarea

its aim to secure my clientarea (WHMCS) so if my CMS get infected my clientarea will stay secure in another user

Thank You
 
why not use just subdomain ? so you don't need to set DOCROOT either.
 
I want to have entirely different account
And i am confuse what will be domain name when i will add user in DirectAdmin for clientarea
 
Yes i was thinking in same way but i want domain.com/clientarea instead of clientarea.domain.com
 
in the logics. you can't have 2 same domain on the server. also you can't pointer your DOCROOT from other account because it relate to user permissing.

that's why I suggest easy way with subdomain
 
Back
Top