I have installed the Domain access module and followed the instructions in INSTALL_QUICKSTART.txt.

I have added a new domain (test.domain.com) and updated DNS and httpd. However when I try to visit that new domain the "Select an installation profile" page is displayed (http://test.domain.com/install.php). The default domain works fine (http://my.domain.com).

Any suggestions on what I am missing?

Comments

ayesh’s picture

Strange. You should get the site of domain.com when accessing test.domain.com if DA is not installed correctly.
Do you have any dedicated folder for test.domain.com domain (this is not needed for DA - you know that's why we use DA)

kjcsb’s picture

No such folder in the sites directory

pwd
/opt/drupal/drupal-current/sites

ls
all domain.com default example.sites.php

Any suggestions appreciated.

seren10pity’s picture

Hi kjcsb, I'm in the same case...
I followed the instructions in the INSTALL.txt, README.txt, and INSTALL_QUICKSTART.txt, but if i go on my new domain, I get install.php page.

i've set in my settings.php file :

$cookie_domain = '.my-site.fr';
and (at the end of the file)

/**
 * Add the domain module setup routine.
 */
include DRUPAL_ROOT . '/sites/all/modules/domain/settings.inc';

but it seems that url is resolved as normally defined by drupal to set standard multisite websites.

I precise that my default site is already subdomain.
In the drupal/sites/ folder, i've got :

/drupal/sites/deflaut (not used)
/drupal/sites/contrat.my-site.fr (this is my drupal install)

So I've got my default drupal install :
contrat.my-site.fr
and i want the other sites to be :

contrat-name.my-site.fr
another-contrat-name.my-site.fr

etc.

I've got my default domain configured as :
Contrat - contrat.my-site.fr - active - id=1 - default.

could the problem come from the fact that my default site is a subdomain, and not the "my-site.fr" domain ? (that domain is already used with another site, older, and not made with drupal)

Need help please ;)

crazyben21’s picture

I'm currently in the same boat as you seren10pity. Did you resolve your issue?

I currently have a subdomain as my default site as well.

Thank You
Benjamin

2suns’s picture

That happens when there are "no database settings available" during domain access include.
Try re-ordering the sequence of your includes. Try checking the contents of the databases variable right before the domain access module's include line.