zone file, conf file, named file and mysite.com/site1
Posted by Anonymous on June 17, 2008 at 1:18pm
I run many sites off single core.
Here's what I've done to make multisite work pretty good:
- Create mysql database with permissions
cd ../drupal/sites/- cp -R default/ newsite.com
- chmod o+w /sites/newsite.com/
- Add a zone file.
- Add the new site to the conf file.
- Add a ServerAlias in the vhost file.
- Restart *named*
- Direct my browser to newsite.com and run the install script ...
I can also add a new site to a subdomain(s) (site1.mysite.com and site2.site1.mysite.com) by adding "A" records to the mysite.com zone file.
Read moreImportant: setting site_name or site_mail override variable will break first installation.
Posted by alexanderpas on January 21, 2008 at 12:45am
Setting the site_name or site_mail override variable will break installation when no user table is present, because it'll prevent you from creating the first administrator account.
related bug report: http://drupal.org/node/212284
you will need to put site_name and site_mail in comments during installation.
Read more