01 May 2011

Exporting IIS settings

When you need to migrate servers or perhaps take a development setup onto a live box:

  1. In IIS manager, click the Server node, and go to Shared Configuration under Management and Click “Export Configuration”. You can use a password if you are sending them across the internet, if you are just going to move them via a USB key then I wouldn’t bother.
  2. Move these files to your new server:
    administration.config
    applicationHost.config
    configEncKey.key
  3. On the new server, go back to the “Shared Configuration” section and check “Enable shared configuration.” Enter the location in physical path to these files and apply them.
  4. It should prompt for the encryption password (if you set it).
  5. Reset IIS.

No comments:

Post a Comment