Closed (works as designed)
Project:
Domain
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2008 at 05:03 UTC
Updated:
31 May 2011 at 23:01 UTC
I installed DA on a multisite (development/sandbox) environment. After adding to the domain list, visiting the new domain resulted in the install page. However, installing DA without any multisites works as expected.
Is this as intended?
Comments
Comment #1
agentrickardYes.
DA is compatible with multisite Drupal, but only if you set up your sites directories properly. That is because DA expects you to have a single settings.php file for any domain under its control.
It may be possible to get DA running with a multi-site install, but there would need to be multiple DNS records pointing to a single instance of the installation.
For instance, in a normal multisite, you would have the following sites directories:
- default
- example.com
- one.example.com
- two.example.com
- thisexample.com
- thatexample.com
For a total of 6 settings.php files.
For sites to 'register' with DA, they must share a common settings file, so you would need your DNS records to point all requests as follows:
- default
-- example.com (DA site)
-- one.example.com (DA site)
-- two.example.com (DA site)
- thisexample.com (stand-alone site)
- thatexample.com (stand-alone site)
For a total of 3 settings.php files.
In this case, any sites you wanted to be controlled by DA would _not_ have their own sites directory and would simply fall-through to the 'default' site folder.
Comment #2
theneemies commentedSounds like the DA source/subsites will have to use sites/default. What I was trying was:
When I created a new Drupal instance, without multisite, the result was:
Which corresponds with your advice of having one settings.php file, in the default folder. I'll try adding a standalone multisite to this Drupal instance, just to see if works.
Comment #3
sorensong commentedSo just to make sure I'm getting this right, DA sites will only work on /sites/default?