We have multi-tenancy setup in Orchard.
If there is a problem with the new tenant, ie DB permissions when accessing the site via the browser the user is redirected to the main orchard instance.
This could cause damaging consequences if this were to happen on our live environment. Is there anyway to prevent this from happening. Even a 404 would be better than redirecting to a completely different site!