add template contents to vhost file