If you're not married to IIS, it can pretty easily be done with apache. You basically set up a folder to hold the configuration for the new sites, and then include that folder in the main config. You'd just have to have CF write out a text file with the new site's config, and then use cfexecute to restart the Apache service.
Russ > -----Original Message----- > From: Andy Matthews [mailto:[EMAIL PROTECTED] > Sent: Friday, November 14, 2008 11:26 AM > To: cf-talk > Subject: (ot) How to add a site to IIS programmatically > > My company manages thousands of websites. Currently we have a single > "default website" in IIS, and manage the detection of domains using > ColdFusion. > > I'd like us to at least explore the possibility of using IIS to detect the > domains so as to avoid using CF for that. That way we can start using > plain HTML pages where applicable. > > Does anyone have examples of using ColdFusion to add a new site into IIS, > or does anyone know if this is even possible? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315297 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

