Unable to deploy website using IIS web site and application pool feature when using HTTPS binding

For future reference: There was an url-binding of / (indicating root I guess), that threw the script off…