update template to use correct variable name in domain line