When we use an auto sub domain: demo.domain.com
The sites spin up and we can access them fine.
However, when you try to login to the site via the auto sub domain alias such as:
You get access denied and refreshed back to the login screen. If you set the cookie_domain in local.settings.php it all works as expected:
$cookie_domain = 'www-site-com.demo.domain.com';
Is this by design?