Jump to content

Multi-Store and different domains


Recommended Posts

Hi,

 

i have a main shop that works greats (www.domain1.com).

Now i need to open a second store with different product, so i purchased a new domain (www.domain2.com).

 

I've created this second shop in the same group of the first one, to share clients...

 

I've read some guides, like the prestashop documentation, but without results.

I tried to park domain to the same directory as the first domain but no results. (it says that might need 24 hours to "redirect" properly the domain, it's true?)

 

I use cPanel and PS 1.5.6.0. Suggestion?

 

 

And, another question. I have for my shop two domain (.it and .com), with first store work properly. How can i do this for the second shop?

 

Thanks :)

Link to comment
Share on other sites

Ok. Now if i go to www.domain2.com it redirect me to www.domain1.com.

 

How can i fix it?

 

edit: something is changed.

 

Now if i type www.domain2.com i go to Shop2, if i type domain2.com i go to Shop1.

Also i have to correctly redirect www.domain2.it and domain2.it to www.domain2.com.

How can i do this?

 

Thanks

Edited by Deynor (see edit history)
Link to comment
Share on other sites

it really seems that the 2nd domain name is set up incorrectly at the hosting (dns) level.

 

typically (but not all hosting) for cpanel you 'park' the new domain to the main shop domain name.

for pleask, you alias the 2nd domain to the main domain.

 

you can not use 301/302 type redirects because by the time that 2nd domain reaches prestashop, it has been turned into the main url.

 

once you get the url pointing done correctly and get your 2nd domain running, it will all be worth it. :)

Link to comment
Share on other sites

  • 3 months later...

Hi All!

 

Just wanted to share with others who gonna struggle by searching for clear instructions as I did :)

 

What worked for me... and for my scenario:

 

Domain1.com - First and main shop

Domain2.com - a new secondary shop (with different products)

 

1. Register a domain2.com and direct it to your server (via DNS records, where your current domain1.com shop is hosted)

2. Enable Multistore at your Presta BO (by logging into your domain1.com). No new installation is needed.

3. Under New store (in Multistore section) tick on "MAIN URL" enter your domain2.com as "Domain". Not sure about SSL - haven't tested yet. Physical - haven't entered anything.

4. Login to your server and put your domain2.com as "alias" under "domain1.com"

5. Wait a bit as it takes time...

 

Hope it was some help for you.

  • Like 2
Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...

I don't think need to set up an alias. Just point 2 domains to the same hosting / web root folder.

Of course, make sure you did follow right steps to set up your second shop.

 

Cheers,

Tung

 

How does that work with SSL certificate then?

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...