I have two domains, and was intended to mirror them (not via DNS, but locally). I have used symbolic links before and successfully create the link like this:
ln -s /home/username/originaldomain.com newdomain.com
permissions are fine: lrwxrwxrwx
But, when I go to load the site I get:
You don’t have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
a. The two names are on two different dreamhost IP addresses, but that shouldn’t matter.
b. I can put the original directory back and it works fine.
I’ve done it before on a RedHat server, so I am just curious if anyone else has done that.