Add back preference of SERVER_NAME over HTTP_HOST.