Hello,
I think we should take a step back and make sure your baseline install of MSM is correct.
See the examples below and compare with your install to make sure.
config.php:
$config['app_version'] = "231";
$config['install_lock'] = "";
$config['license_number'] = "";
$config['debug'] = "1";
$config['cp_url'] = "http://engine.dev/admin.php";
$config['doc_url'] = "http://ellislab.com/expressionengine/user-guide/";
$config['is_system_on'] = "y";
$config['allow_extensions'] = "y";
$config['site_label'] = "Test 23";
$config['cookie_prefix'] = "";
$config['multiple_sites_enabled'] = "y";
Site 1 index.php MSM variables - note they are commented out *and should be*
/*
* --------------------------------------------------------------------
* Multiple Site Manager
* --------------------------------------------------------------------
*
* Uncomment the following variables if you are using the Multiple
* Site Manager: <a href="http://ellislab.com/expressionengine/user-guide/cp/sites">http://ellislab.com/expressionengine/user-guide/cp/sites</a>
*
* Set the Short Name of the site this file will display, the URL of
* this site's admin.php file, and the main URL of the site (without
* index.php)
*
*/
// $assign_to_config['site_name'] = 'domain2_short_name';
// $assign_to_config['cp_url'] = 'http://domain2.com/admin.php';
// $assign_to_config['site_url'] = 'http://domain2.com';
Site 1 admin.php MSM variables - note they are commented out *and should be*
/*
* --------------------------------------------------------------------
* Multiple Site Manager
* --------------------------------------------------------------------
*
* Uncomment the following variables if you are using the Multiple
* Site Manager: <a href="http://ellislab.com/expressionengine/user-guide/cp/sites">http://ellislab.com/expressionengine/user-guide/cp/sites</a>
*
* The variables set the Short Name of the site this admin.php file
* will log into, and its URL.
*
*/
// $assign_to_config['site_name'] = 'domain2_short_name';
// $assign_to_config['cp_url'] = 'http://domain2.com/admin.php';
Site 2 index.php MSM variables:
/*
* --------------------------------------------------------------------
* Multiple Site Manager
* --------------------------------------------------------------------
*
* Uncomment the following variables if you are using the Multiple
* Site Manager: <a href="http://ellislab.com/expressionengine/user-guide/cp/sites">http://ellislab.com/expressionengine/user-guide/cp/sites</a>
*
* Set the Short Name of the site this file will display, the URL of
* this site's admin.php file, and the main URL of the site (without
* index.php)
*
*/
$assign_to_config['site_name'] = 'msm_test';
$assign_to_config['cp_url'] = 'http://msm.dev/admin.php';
$assign_to_config['site_url'] = 'http://msm.dev';
Site 2 admin.php MSM variables:
/*
* --------------------------------------------------------------------
* Multiple Site Manager
* --------------------------------------------------------------------
*
* Uncomment the following variables if you are using the Multiple
* Site Manager: <a href="http://ellislab.com/expressionengine/user-guide/cp/sites">http://ellislab.com/expressionengine/user-guide/cp/sites</a>
*
* The variables set the Short Name of the site this admin.php file
* will log into, and its URL.
*
*/
$assign_to_config['site_name'] = 'msm_test';
$assign_to_config['cp_url'] = 'http://msm.dev/admin.php';
Each of your respective files should be set up similarly to these examples.
Also “Under Admin > Security and Privacy > Security and Sessions ensure that Control Panel Session Type is set to Cookies and session ID and User Session Type is set to Cookies Only.
Leave all setting fields blank under Admin > Security and Privacy > Cookie Settings so they can be automatically set by EE.”
Let me know if this makes sense and if the your base install matches.
Cheers,