set SERVER_NAME based on attribute