Hi,
I need to create a website where we only have the deployed website accessed via an IIS application.
I’ve worked out how we can create an IIS application using a script that is in the octopus library but now I need the website creation process to set it’s home directory to a none relative home directory. Is this possible without manual intervention?
for example:
IISWebsite1 --> D:\website\root
IISWebsite1\Application —> D:\Websitebuild
Thanks for reaching out. This sounds more like an IIS question. Do you mean something like this in regards to having the root of the site (http://site.com) point to IISWebSite1\Application instead of IISWebsite1\?
Just trying to understand your scenario a bit more before I start typing an answer
Thanks for clearing that up! You should be good to go with these steps
Use this library step to create a website(*) and point it to a dummy directory. Unlike the regular deployment step, with this step template you are not forced to deploy code to the website you are creating.
Use this library step to create a Web Application under the site(*) and make it point to the path(**) where you’re gonna deploy the real content of the website