add VirtualHost to template