How to point multiple URLs to the same website on Magento 2? I have 2 urls, both of which should open the same website. I have tried adding a case in index.php which points to an existing website's code.
case 'abc.example.in':
$mageRunCode = 'abc_web';
$mageRunType = 'website';
break;
case 'pqr.example.in':
$mageRunCode = 'abc_web';
$mageRunType = 'website';
break;
In base link url of the website(abc_web) I have put https://abc.example.in
. When I try opening https://pqr.example.com
, it does open the website but in the url it shows https://abc.example.in
. I want https://pqr.example.com
. Is there a way to do this?