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?
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)