The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

setting same virtualhost DocumentRoot for a different cpanel user

Discussion in 'General Discussion' started by jonbofh, Mar 11, 2014.

  1. jonbofh

    jonbofh Registered

    Joined:
    Feb 25, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    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.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. jonbofh

    jonbofh Registered

    Joined:
    Feb 25, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Hi Michael,

    Thanks for that. Do addon domains allow for a subdomain to be used?

    Best Regards
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page