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.

Sharing Files

Discussion in 'General Discussion' started by baving, Nov 29, 2007.

  1. baving

    baving Registered

    Joined:
    Mar 28, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I have 2 domains:

    staff.mydomain.com
    mydomain.com

    staff.mydomain.com is a sub-domain with a completely different hosting account on the server. How could I include files from the mydomain.com directories into the staff.mydomain.com directories? As I would like to make the 2 sub-domains share the same function and include files for my script.

    Thanks
     
  2. strongmotive

    strongmotive Member

    Joined:
    May 8, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    You could make a link between files by using the SSH command "ln", if you give me the usernames of both accounts I will tell you how to do it.
     
  3. baving

    baving Registered

    Joined:
    Mar 28, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    It is just a site I am thinking of creating. So lets just use example_staff and example :)
     
Loading...

Share This Page