<v1> domain detection fix: SERVER_NAME -> HTTP_HOST