Check hostname (rather than protocol) to ensure running online.