#StackBounty: #magento2 #url #base-url #multi-website How to make Magento 2 accessible using different url Domain without creating Mult…

Bounty: 50

So using other PHP frameworks such as Laravel and CI, I can point my virtual host to the same project folder and access it with a different domain. However using Magento 2 the base URL is defined in the database and to access it with multiple domains we need to create multiple websites, I just need to access it from multiple domains without creating multiple website, how to do this?

For example:

I can access the same Magento 2 site using:

1. my.gov
2. mine.gov

if I go to another page:

1. my.gov/customer/account
2. mine.gov/customer/account

it won’t change the base URL (without redirecting it)

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.