Skip to content

Magento 2 – Store View redirects to main domain

I am running magento 2 in a VM on apache2.

I created a new store view for another language of our shop.

Main domain: company.com

Storeview subdomain: de.company.com

Problem:

If I go to “http://de.company.com” then I get redirected to http://company.com.


I deleted all cookies and flushed the magento cache.