changes and updates to domain and subdomain awareness for storefronts/main app