using photon.hostRedirect for redirecting all requests to non-main domain (for example, at herokuapp) to main.