Does it create any problems for me to use symlinks to display the same drupal site at more than one domain? It appears to work, but I'm not sure if bugs might appear in the future due to scripts being misinterpreted as XSS attacks or something.
I own two domains, sweet-bro.com and hellajeff.net . They're hosted on the same account, such that people who go to sweet-bro.com see the files in
~/sweet-bro/html and people who go to hellajeff.net see the files in
There's a drupal 7 site at
http://sweet-bro.com/drupal and I want visitors to see the same site if they go to
http://hellajeff.net/ruse . So, first I make a symlink in the html directory:
ln -s ~/sweet-bro/html/drupal ~/hellajeff/html/ruse
Then I make a symlink in the sites directory:
ln -s ~/sweet-bro/html/drupal/sites/default ~/sweet-bro/html/drupal/sites/hellajeff.net.ruse
This is what I've done and it seems to be working. Is there any reason not to do it this way?