setting same virtualhost DocumentRoot for a different cpanel user
Hi,
I have a user who wants to host and manage their home brewed application using cpanel.
The gist of it is that there are multiple unix users (for the sake of quotas) who all need to have documentroot pointing to the same place.
It's like user1.domain.com, user2.domain.com; subdomains would be an option but they don't cover the quota needs(afaik)
So the beginning question would be
how to manually set the DocumentRoot for user2 to /home/user1/public_html ?
how would groups be set up to allow rw access to /home/user1 for user2?
PS. I don't have the full spectrum of the development of this application and the user would be better off posting directly here, but that isn't happening apparently.
Any input greatly appreciated.
-
Hello :) The best option here is to add the additional domain names as "Addon Domains" in the cPanel interface. This will allow you to assign FTP permissions to individual usernames, and setup FTP quotas for those users. Otherwise, the alternative would be to simply provide the cPanel username/password to all of the users who need full access to the account. Thank you. 0 -
Hi Michael, Thanks for that. Do addon domains allow for a subdomain to be used? Best Regards 0 -
Yes, you can use a subdomain as the domain name when creating an addon domain in cPanel. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments