I have a multistore in Magento 2. The main website URL is mainwebsite.ca.
The second store runs through a subdirectory ‘secondwebsite’ and is accessed through the URL: mainwebsite.ca/secondwebsite/.
I want to redirect mainwebsite.ca/secondwebsite/ to a new domain abc.com.
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 mainwebsite.ca.
Am I missing something?
Any help would be appreciated.