hi guys, here i want to present a concept i.e two magento base urls with single database
how can i acheive that ? can anyone guide me on that ?
Hello @bharath553,
Please refer this blog https://www.properhost.com/support/kb/30/How-To-Setup-Magento-With-Multiple-Stores-And-Domains
--
If my answer is useful, please Accept as Solution & give Kudos
Hi @bharath553
Please refer this blog https://blog.landofcoder.com/magento-2-multiple-stores-guide/
------------------------------------------------
If you've found one of my answers useful, please give"Kudos" or "Accept as Solution"
Hello @bharath553,
Please follow this link: https://devdocs.magento.com/guides/v2.0/config-guide/multi-site/ms_websites.html
And adding following code in .htaccess file:
SetEnvIf Host [domain1] MAGE_RUN_CODE=[website1 code] SetEnvIf Host [domain1] MAGE_RUN_TYPE=website SetEnvIf Host [domain2] MAGE_RUN_CODE=[website2 code] SetEnvIf Host [domain2] MAGE_RUN_TYPE=website
Thanks,
--
If my answer is useful, please Accept as Solution & give Kudos
can i apply above solutions in local machine ? is this possible ?
Yes, you can try this solution for local machine.
Thanks