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 or accessing files between 2 domains

Discussion in 'General Discussion' started by Richard Franklin, Mar 25, 2016.

  1. Richard Franklin

    Joined:
    Mar 10, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I have multiple domains.
    In the primary domain1.com, I have all images in the domain1.com/images.
    I want to access from domain2.com some of the images from domain1.com/images so I don't need to copy them from domain1.com account to domain2.com account.
    Also, from domain3.com I want to access also some images from domain2.com/images.
    Any idea how to accomplish this without copying images from accounts?
     
  2. 24x7serversecurity

    Joined:
    Aug 31, 2015
    Messages:
    19
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello :).

    You can accomplish this by adding all the domains under one cPanel Account. i.e. 1 primary domain and rest others Addon domains. So that the user assigned will the same for all the domains and you can share images easily without any permission change.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    The best way to accomplish this without sacrificing security is to create the additional domain names as addon domains under the same cPanel account. Then, you can simply link to those images from any of the domain names because the username is the same.

    Thank you.
     
Loading...

Share This Page