I have a multistore in Magento 2. The main website URL is
The second store runs through a subdirectory 'secondwebsite' and is accessed through the URL:
I want to redirect
mainwebsite.ca/secondwebsite/ to a new domain
I have pointed the domain to the IP and updated the base URL from the Magento admin but when I visit
abc.com it redirects to the
Am I missing something?
Any help would be appreciated.