IIS Virtual Directory with Application Pool


I want to create an IIS application off the default web site and associate it to an application pool. The options in Octopus currently only allows one to create a new website, and I don’t wish to do this. Is there any way of creating an application for example off the Default Web Site in Octopus? I have seen the virtual directory step template, but it doesn’t associate an application pool to the VD. I have looked at modifying the template so it does create the application pool, but I thought it would be a good idea to see if there is a way of doing this that I have missed somehow?


Hi Andrew,

Thanks for reaching out! First use the IIS App Pool - Create step template to create the application pool. If the pool already exists, it’ll let you know and exit gracefully. Then use the IIS Application - Create template to create the application and associate it with the previously created app pool.

Hope that helps!