Re: MultiSite Module Support Thread
Just a second... Now i'm confused again...
You have one cart using 5 domains. But that's not what i want.
I've created another zc site with a new database and new template. Site2 would use some modules that site1 doesn't and the other way around. So, actually, i'll have two completely different shops selling different items and all i want is to share customer details between these shops. Is this module what i need? :lookaroun
Re: MultiSite Module Support Thread
My 5 domains are using a common customer and product base. But the look and virtually all controls and graphics are seperate. Unless you knew you would be hard pressed to figure out they are the same cart.
5 Domains, One Admin area.. If you register at one store you can use any of the other 4 without reregistering.
The module allows seperate templates so you can have very different stores if required. But they are really only 1 store using a common database and admin area..
Re: MultiSite Module Support Thread
sorry my bade but it has to be something like 2.domain.com and so an.
Re: MultiSite Module Support Thread
Yup...
site1.mydomain.com
site2.mydomain.com
etc.mydomain.com
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
fotofx
The module allows seperate templates so you can have very different stores if required. But they are really only 1 store using a common database and admin area..
What you're saying is that i've been developing my other site for nothing?! I can send it to my recycle bin now, right?
OK, would you be so kind to explain where to go from here? I have my current site and i'll transfer it to a subdomain. What next? Install multisite module and start working on the other site or what?
I lost it, I don't understand this module anymore... :(
@staypop: no problem, it could happen even to me... :wink:
Re: MultiSite Module Support Thread
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.
Re: MultiSite Module Support Thread
holy smoke!
now this is why i love zencart - the community is wonderful thanks to people like you!
i can not describe how much i appreciate your help (and in such record time)!!! will do as you explained and return with the results.
Oh, and... THANK YOU!!! :smile:
Re: MultiSite Module Support Thread
No problem... Just worked out that I was sitting here..
Glad I could help..
Re: MultiSite Module Support Thread
OK, I did all that you said and I'm very happy so far - it's quite simple, I was afraid it would be more complex. But now i'm stuck on this part:
Quote:
Originally Posted by
fotofx
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.
What domain name changes are you talking about? I did set up my site2.domain.com but i'm not sure how to connect it to site1.domain.com - some redirection or what? Could you please explain as simple and as detailed as possible? :smile: Thanks in advance!
Re: MultiSite Module Support Thread
Whoever is doing your hosting need to go into the DNS record for mydomain.com and there will already be an A record for www
You need A records for site1 and site2 pointing to the same IP as the www
When you are done you are going to have to figure which storefront will be the default and create a copy of that config for the www if you are going to use it.