Passing domain in web template as an attribute