Drupal 6.13
PHP 5.2.9-1
MySQL 5.0.77
Domain Access 6.x-2.0-rc9
We are running Drupal 6.13 on a WAMP setup. We host several sites using the
same codebase but with different site specific content (obviously). We have
a few sites that would like to share certain content types. It looks like
Domain Access will do this, so I was attempting to set it up and try it out.
Unfortunately, I am unable to get additional sites that I add with Domain
Access to share any content, or even function at all. I believe my DNS and
Apache are configured correctly because the domains do resolve and Drupal is
reading the correct HTTP_HOST. But when I try to visit any of the additional
domains Drupal reads from the /sites/default site instead of the sites I add with Domain Access.
I have gone through the included .txt documents a few times and sought help
on #drupal-support, but haven't made any progress. Does anyone have any
suggestions? It seems like I might be missing something simple and obvious.
Comments
Comment #1
agentrickardYou should only have one settings.php file and one database. DA loads the domain data dynamically, not by using different configuration folders.
You also need to add the DA loader call to the bottom of settings.php --> see INSTALL.txt for the gory details.
Reading this again, I don't think that DA will do what you want. DA is a node access module, and assumes that all nodes are stored in a single table.
Comment #2
mattdanger commentedYep, we only have 1 settings.php file (with the DA loader call at the bottom) and 1 database.
Even if DA won't meet our needs exactly I would still like to get it working. We might be able to modify our needs to match what DA does.
Comment #3
agentrickardI don't understand the problem, then. All domains _should_ read from the default settings file.
Are you getting any error messages?
Also turn on the Domain Switcher block (provided). It will show you what domains are registered, and help you navigate among them during testing.
Comment #4
agentrickard