I have set up an approach for creating a web site (so not a web app) from a template web site.
So, I created "manually" in IIS manager a site with http and https binding and exported this. So, this package could be used to create new sites from a template package.
I do a intermediate step before I use the template package. I inject some paramete definitions for the http and https port.
Now, when I do this only for http, everything works fine. But when I have both a param for http and https webdeploy crashed. I need to startup up the web deploy service again via services.msc !!!
It would be very kind to verify what's going wrong here.
You can find a detailed explanation on my blog. See: http://blog.pragmaswitch.com/?p=612 .