We have 2 sites, EE MSM 2.4, and one was made live last week. Domain pointed to the new host, etc, and we’re off without a problem. However, the second site (which lives as a subdomain) is still offline being completed.
We noticed that logging into the CP and trying to view the second site now does not allow us to view it—we get the offline template as if we aren’t logged in. Certainly this has to do with changes after making “domain1” live. The second site is set to offline. When turned on, we CAN see it at the site url. When it’s off, though, we cannot. Generalized setup is as follows:
[domain1]
—-
admin.php and index.php
$system_path = ‘./adm’;
[domain2]
—-
index.php (no admin.php - same login location ok)
$system_path = ‘../www/adm/’;
$assign_to_config[‘site_name’] = ‘domain2’;
$assign_to_config[‘cp_url’] = ‘http://www.domain1.com/adm/’;
$assign_to_config[‘site_url’] = ‘http://domain2.domain1.host.com’;
(dev url above prior to adjusting to domain path ... this works only when the site is set to online)
Missing something obvious? Haven’t had this setup before.