[solved]2 CMSMS sites running on the same Web server ?

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
dvh
Forum Members
Forum Members
Posts: 11
Joined: Fri Sep 26, 2008 3:43 pm

[solved]2 CMSMS sites running on the same Web server ?

Post by dvh »

Using the Mysql Dump module, I have exported the DB from a site and I would like to import it on another machine that is already running CMSMS on Apache/Windows.
Is is as simple as reinstalling (or copying) CMSMS under a diffetent root folder under httdocs ?
Can I do a find/replace of all 'cms_' prefixes from the SQL script to load it into the new root name ?
i.e. got the backup using 'cms_'
I create a new folder 'site2' under which I install CMSMS, do find/replaceall 'cms_' with 'site2_', create a second MySQL DB using 'site2_' prefix then reload DB from the site2 admin page and voilà ?
Then I would access the 2 sites from urls : www.my_dom.com/cms et www.my_dom.com/site2 ...
I am not using tiny url.
Last edited by dvh on Thu Oct 30, 2008 4:52 pm, edited 1 time in total.
alby

Re: 2 CMSMS sites running on the same Web server ?

Post by alby »

dvh wrote: I create a new folder 'site2' under which I install CMSMS, do find/replaceall 'cms_' with 'site2_', create a second MySQL DB using 'site2_' prefix then reload DB from the site2 admin page and voilà ?
If you use a second DB is useless replace cms_ in site2_ . You MUST if you use same DB (overwrite tables)
In site2 run install/index.php but uncheck write tables and sample content (in step 5 about), this write a correct config.php for your new site


Alby
dvh
Forum Members
Forum Members
Posts: 11
Joined: Fri Sep 26, 2008 3:43 pm

Re: [solved]2 CMSMS sites running on the same Web server ?

Post by dvh »

Thanks to the 2 of you. Got it working. ;D
Locked

Return to “[locked] Installation, Setup and Upgrade”