Jump to content

Multishop database


Recommended Posts

Hi,

I'm trying to set up a Presta multishop and have a question about setting up the database.

I have 2 domains on the same hosting account, installed presta on 1 domain, connected to the database and now im installing presta on the second domain but how do I get them to share a database ? I cant just use the same database twice but I do want both shops to sell the same items.
How do I do this ?

Link to comment
Share on other sites

Hi El Patron, Thanks for responding!

But I still dont really get it.
To test it I tried using 2 subdomains.
shop1.myshop.com and shop2.myshop.com.
Installed Presta on shop1 and following the steps from the documentation I added shop2

but after that when I go to shop2.myshop.com all it displays is a "403 Forbidden".
 

Link to comment
Share on other sites

Hi El Patron, Thanks for responding!

 

But I still dont really get it.

To test it I tried using 2 subdomains.

shop1.myshop.com and shop2.myshop.com.

Installed Presta on shop1 and following the steps from the documentation I added shop2

but after that when I go to shop2.myshop.com all it displays is a "403 Forbidden".

 

 

Hi,  what is your hosting control panel cpanel/plesk?

Link to comment
Share on other sites

DirectAdmin

 

Hi I am not familiar with that. 

 

Here is basic rule for pointing domain to main domain.

 

cpanel = park to main domain

plesk = alias to main domain

 

once you accomplish this with your hosting control panel then ps will be able receive the http request of additional domain.

Link to comment
Share on other sites

  • 3 weeks later...

On DirectAdmin you also add alias domain.

 

I am not sure you will succeed to do multistore urls as subdomain1.shop.com and subdomain2.shop.com

 

The best way is either to use two different domains

onestore.com

secondstore.com

 

or handle them as subfolders

 

domain.com/shop1

domain.com/shop2

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...