• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 712
  • Last Modified:

How to replicate IIS 7 Web Sites to a remote server

What is the proper procedure to copy/replicate a number of existing IIS 7 ASP.NET Web Sites over to a different server.
I would have no issue with shutting down those source sites, I just need to know how it is done, so I could start them up at the target server and have it look and function just like there were at the original server.
Both, the source and the target servers are Windows 2008 Enterprise
1 Solution
If it's all the sites you can use the iiscnfg.vbs utility.

For example, to make sure two load balanced boxes stay in sync I use:
iiscnfg /copy /ts targetserv /tu targserv\administrator /tp adminpassword

You might be able to do individual sites with that as well.  If that doesn't work, I'm pretty sure you can export each individual site to a file with the IIS MMC.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now