I want to make a dev, demo1, demo2 copy of the iis website I'm working on. I need each iis to run off its own code base, but the settings will be almost identical. Is there an easy way in windows 7 ultimate to clone my dev iis to a new site without having to completely reconfigure it? To configure the virtual directories for each iis takes 20 mins plus so this could save me a lot of work.
Take a look at the ApplicationHost.config file. It should be located under "c:\windows\system32\inetsrv\config". This is an XML file that contains all of the IIS configuration data. You can manually modify this file to quickly create copies of your website.
Once you find the site you want to copy. Copy the entire node and paste it after the site node copied. Assign it a new ID. Be sure to check sites in IIS for all used IDs first !! Also be sure to give it a new NAME and update all PATHS and APPPOOLS in the copied section. See example below.
Migrate a Web Site from IIS 6.0 to IIS 7 or above Prerequisites Part 1 - View your site's dependencies Part 2 - Configure the target Part 3 – Migrate your site to the target by using a package file {Optional - Migrate your site to the target by using the Web Deployment Agent Service} Summary
You have now synchronized a Web site from a source IIS 6.0 server to a destination IIS 7 or above server by viewing the dependencies, configuring the destination IIS server, and by using a package file or the Web Deployment Agent Service.
Take a look at the ApplicationHost.config file. It should be located under "c:\windows\system32\inetsrv\config". This is an XML file that contains all of the IIS configuration data. You can manually modify this file to quickly create copies of your website. Just make sure to make a backup first in case you have problems.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With