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.

Symbolic link between addon domains

Discussion in 'General Discussion' started by Diniel, Jan 21, 2011.

  1. Diniel

    Diniel Member

    Joined:
    Jan 31, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I have an account set up with www.domain1.com and have an add-on domain in that account of www.domain2.com and its files are stored in /home/domain1/public_html/domain2.com/

    I'd like to be able to have a symbolic link between the images folder domain1.com so that it can be accessed on domain2.com (eg to make www.domain1.com/images/ show the same files as www.domain2.com/images/)

    How can I do this? At the command line as root I've run ln -s /home/domain1/public_html/images/ /home/domain1/public_html/domain2.com/images/ and I see the link images when I log in via FTP, but I get an error 403 when trying to visit on the web.

    What am I doing wrong?
     
Loading...

Share This Page