I’ve been reading a lot of posts and the like, but one of my questions aren’t getting answered and didn’t know if you have an idea.
I have a setup where I have 10 sites, that each have 5 Applications and within those 5 applications, I have 3 Virtual Directories that could be copied and pasted to each app.
For example:
Site1 App A Virt1 Virt2 App B Virt1 Virt2 App C Virt1 Virt2
I used to, in IIS6, save Virt1 to a file and on AppB (for site1 – site10, be able to create a new virtual from file. ) Since the path, name and username/password were all the same, it worked great. (it’s a UNC, so I need to have a username/password)
What I’m running into a problem with is figuring out how to do this in IIS7. Web Deploy only covers the app level, since they are unique to the site, I can’t deploy App A to Site2…Site10. But Virt1 is the same on AppA, Site 1..10. Web Deploy only allows me to export the App level.
Any suggestions how I can achieve this? Is this something that can be a standard config? Something that can be quickly imported? Even if I batch/script this, I have to receive variables for the Site/App name.