cancel
Showing results for 
Search instead for 
Did you mean: 

magento2 multi website single domain

magento2 multi website single domain

I Have magento installation with two websites on the same domain, each website has two stores, how can I get the two websites base URL or what should I write in each website base url to access it on the front end, can anyone help me

5 REPLIES

Re: magento2 multi website single domain

Why are both websites on the same domain? What URLs would you like each website to be accessed at?

 

Please read the documentation for managing mutliple websites: http://devdocs.magento.com/guides/v2.0/config-guide/multi-site/ms_over.html

 

You should modify your web server config to set the MAGE_RUN_CODE for the website that you want to run for the particular vhost. 

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!

Re: magento2 multi website single domain

One website for Egypt the currency will be Egyptian pound with two stores English and Arabic and the other for middle east countries the currency will be dollar also it will be with two stores English and Arabic

Re: magento2 multi website single domain

You should see this video https://www.youtube.com/watch?v=CKZp82Wn38Y

It can help you to resolve your requirements

Re: magento2 multi website single domain

I tried what he did in this video but it didn't work with me I don't know why

Re: magento2 multi website single domain

How can I modify your my server config to set the MAGE_RUN_CODE for the website