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.

Common Folder/Account between cpanel Accounts

Discussion in 'General Discussion' started by lab, Jan 24, 2012.

  1. lab

    lab Registered

    Joined:
    Jan 24, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I created 3 cPanel accounts, site1, site2, template1

    That 3 users home are /home/site1/www , /home/site2/www, /home/template1/www

    MY QUESTION:

    When a user access site1.com or site2.com it should display files from /home/template1/www

    Any one please help me on this?

    NOTE: I want to use different accounts, addon domain from a single account is not solution for my case. please consider 3 accounts

    Thank You in Advance
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Modifying the Apache configuration to have the accounts use the same document root would not be an ideal solution in my opinion. In the scenario you described, does the "template1" account use static or dynamic content? If it's just static content, then the safest way to achieve this without using the "Parked Domain" feature is to simply copy the content to the other accounts.

    Thank you.
     
  3. baby names

    baby names Registered

    Joined:
    Feb 18, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I created 2 FTP accounts for one domain

    First account can view all domains
    second FTP account is for Client I would like to hide a particular folder from the client
    How to hide a folder from client FTP account (remain all other folder and files shou;d be visible to client)
    Please help me urgently
     
  4. lab

    lab Registered

    Joined:
    Jan 24, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello Michael,

    "template1" have the dynamic code, I dont want to copy in each folder/account, need some way where I can link or display from common folder when some one type site1.com or site2.com

    Case is like site1.com site2.com should display from "template1" and site3.com and site4.com should display from "template2" folder / account

    Parked Domains / Add on Domains is not a solution for me because site1.com, site2.com,site3.com and site4.com must have different cPanel accounts and those 4 web sites have their own mails, database,....

    Can you help me for the same.

    Thank You
     
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page