Add domain name to the application in the template definition.