This is an attempt to complete my self assigned task to build a multisite install handbook (see http://drupal.org/node/104340). This issue is to list the choices available to a site admin for the location of the drupal codebase and exactly how/off which domain or subdomain the multisite install can be run. This handbook page is deliberately explained at a very low, beginner's level.
Comments, suggestions and pointers about inaccuracies are most welcome.
**********************************************************************
Choices for location of drupal codebase on a shared hosting account
- Web root of a domain: On most hosts, this path looks something like /home/yourhostingaccountname/public_html/. With the code base here, you can run independent drupal sites on:
- Your main domain (www.example.com);
- One or more sub-domains (http://subdomain.example.com); and,
- Add-on domains (domains pointing to your main domain or sub-domains)
.
Note that unpacking the drupal codebase to your web root scatters the drupal files all over your hosting account's public_html directory.
- Directory of a domain
If you already have a site on your web root or if you just want to test drupal, you may often want to run it on a separate directory of your main domain such as www.example.com/drupal. In this case, the codebase is probably best stored in this very directory. You could still store it in../../public_html, but you would have to do a procedure called symlinking to point the code base to this directory so that the site runs off that directory. Depending on the permissions of your hosting provider and your skills, doing symlinking may range from being difficult to impossible.
Comments
Comment #1
dokumori commentedChanged the component to reflect the new component categorization. See http://drupal.org/node/301443
-dokumori
Comment #2
linl commentedChanged component to reflect the new component categorization. See http://drupal.org/node/301443
Comment #3
add1sun commentedI'm going to close this ticket, since efforts on it have stopped and there is more info/conversation in the related issue at #104340: Drupal multi-site setup documentation: request for comments