cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to create a Multidomain Multistore setup

Trying to create a Multidomain Multistore setup

up vote
0
down vote
favorite
I have installed Magento 2.0.9

I am attempting to create following store configuration

Website Store StoreView BaseUrl Storecode
-----------------------------------------------------------------------
Main Website Main Website Store Portuguese domain1.com dp1
Main Website Main Website Store English domain1.com de1
Main Website Fashion Store Portuguese domain2.com dp2
Main Website Fashion Store English domain2.com de2
-----------------------------------------------------------------------


domain1.com contains all products: Books, jewelry, clothing etc. I have created a Fashion store with just jewelry category products and I am able to view domain2.com successfully.

The problem is when I change the storeview of both the domain1.com or domain2.com from Portuguese to English/English to Portuguese there is no effect. However I am to access the page by the urls directly : domain2.com/de2 and domain2.com/dp2 they work.

Can any tell me or suggest what should I do to get the store switching to work?