My Magento version is 2.2.6. In our shop, we need multiple websites and stores both. The store level is working fine, but there is a problem when visiting website level link. It gets always redirect to the default website. Can anyone help me? Thanks!
Below is my nginx/vhost conf:
When visiting store level domain "thirdview.magento2.com", it is working fine, but when visiting the website level domain "test4website.magento2.com", it always redirects to "my.magento.com"--the default domain.
In addition, all domain were worked properly when I set the "test4website.magento2.com" as the default website,why is that? Can anyone please help me out?