Added a vhost template to generate url based on a sub domain