added vhost on template engine