Symbolic link for domains


#1

Hi,
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:
Forbidden
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.

Any suggestions?

Other notes:
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.

Thanks!


#2

It will work, if anyone else wishes to know. Just be sure not to make a typo in the username. :wink:


#3

Thanks for sharing that , and you are not alone … we have all either done that ourselves, or will do it one of these days! Rock ON! :wink:

–rlparker