Page 1 of 1

Multistore setup - Primary store in subfolder

Posted: Tue Sep 20, 2016 4:51 am
by JeffroDH
I have my primary store set up at

Code: Select all

www.domain1.com/store/
, and am attempting to setup a multistore at

Code: Select all

www.domain2.com/store/
.

I've tried an htaccess redirect, but it's just a redirect, and doesn't maintain the domain2.com url. I've been told I can't accomplish this with a CNAME. My understanding is that the only way to solve the problem is to change the hosting of the original store to

Code: Select all

www.domain1.com
.

From there, would I be able to redirect a subdomain (like

Code: Select all

shop.domain2.com
to the root?

From a server perspective, the original store is at /public_html/store/ and the second site is at /public_html/domain2/

What makes sense from an administration standpoint?

Thanks in advance, I'm new to this Apache stuff.

Re: Multistore setup - Primary store in subfolder

Posted: Tue Sep 20, 2016 10:25 am
by Cue4cheap
I recommend this: http://forum.opencart.com/viewtopic.php?t=27538

Also I don't think it is www.domain2.com/store/ but just www.domain2.com.

Mike

Re: Multistore setup - Primary store in subfolder

Posted: Tue Sep 20, 2016 11:36 am
by JeffroDH
Cue4cheap wrote:I recommend this: http://forum.opencart.com/viewtopic.php?t=27538

Also I don't think it is http://www.domain2.com/store/ but just http://www.domain2.com.

Mike
Thanks for the response. I'm hosting a basic HTML template at the root of domain2.com, and want to send them to the store when they navigate there, rather than trying to shoehorn a bunch of unrelated stuff into OpenCart.

Also, I've seen that guide, but it doesn't really address my issue, because it doesn't address pointing a domain to a subfolder of another domain.