when user tries to access app from non-canonical host, redirect them
to canonical host.