Zen Cart Logo
Forums / General Questions / 2 Domains, 2 Zen Carts and same database

2 Domains, 2 Zen Carts and same database

Locked

Views: 910

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
7 Oct 2009, 6:49 PM
#1
raymondsiri avatar

raymondsiri

New Zenner

Join Date:
Oct 2009
Posts:
1
Plugin Contributions:
0

2 Domains, 2 Zen Carts and same database

Hi, i want to know if its posible to have 2 Domain names, 2 installations of Zen Cart but sharing the database of the 1st one, So when i add articles to the first one, the second get them too.

7 Oct 2009, 7:44 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: 2 Domains, 2 Zen Carts and same database

Both installations of Zen Cart would have to point to the same database in the configuration files.

7 Oct 2009, 7:50 PM
#3
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: 2 Domains, 2 Zen Carts and same database

Hi Afo, we seem to meet over this question every so often.

What afo says is absolutely right. Also, the template ID needs to be the same (or is the same because it is stored in the database) so creating different looks is possible but takes a bit of cleverness.

I run multiple installations on my test server so I can mess around with ideas and use a common database for all of them so it is possible.

7 Oct 2009, 7:50 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: 2 Domains, 2 Zen Carts and same database

This also means that both sites would have to have the same admin settings. If this is a problem, you might want to look at the MultiSite mod in Free Addons.