Question fairly self explanatory but how do you prevent the homepage of a new Magento2 install redirecting to www.domain.com/defaultsite ? It should simply go to www.domain.com
We are using latest version 2.1.8
It occurs in both developer or production mode. Cache cleared in var folder. Have ran setup:upgrade and recompiled etc. The .htaccess file is the default one that comes with Magento2 and has no edits. Same scenario for our env.php file in app/etc folder.