Don't trash everything...
Take the template from site2 and put it in site1's template folder.
Do a database dump of site2 or print all your config if you have allot of custom stuff (image sizes, etc)
Install the multisite module and create your config files..
You should have one for each store..
site1.mydomain.com_config.php
site2.mydomain.com_config.php
The site1 config should have at the least
PHP Code:
<?php
$template_dir = "site1template";
define('SITE_NAME','site1');
define('HTTP_SERVER', 'http://site1.mydomain.com');
?>
Duplicate the site1 config and rename it to the site2 config as above.
Go into admin and run the multisite tool. Select "display configuration for a new site"
Copy that data and paste it in under the above php code in the site2 config file. Make all the necessary changes to the site2 config.. HINT.. You only need to have the lines that are differant but I leave the others in commented out in case I ever need to make changes.
Once this is done you or your hosting company will need to make the domain name changes... Be careful if you use an alias. It is important that the request comes to the server for the alternate domain name, I have seen CNAME records not work.
Bookmarks