Drupal 7 multi-site install -


i have 2 domains , 1 sub-domain on single virtual host (web hosting company). have ssh access , can create symbolic links. question is:

would matter of me creating symbolic link , copying files virtual host path , (if so) files need copied directory make work?

for example: 3 domains

  • example.com
  • example2.com
  • demo.example.com

drupal installed on example.com. in /sites directory there 4 directories:

  • all
  • example.com
  • example2.com
  • demo.example.com

example2.com , demo.example.com symbolic links actual paths on system. copying files these directories such settings.php , install.php, etc.

a typical drupal install designed host multiple domains using same code base, in hosting provider point 3 domains same directory root of drupal install , not sites directory of drupal.

if drupal file in example.com create symbolic link point exmaple2.com folder example.com's domain directory. in within example.com directory go sites folder , create example2.com folder copy of settings.php file point database used example2. files example2 web sites should stored in example.com/sites/example2.com/files. when visit example2.com/install.php, should facilitate install of new drupal site separate database indicated in example.com/sites/example2.com/settings.php.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -