Redirect to production domain when necessary.