Scott Klarenbach
Scott Klarenbach

Reputation: 38721

Port IIS 7 Setup to another machine

What's the fastest and most efficient way of porting over an IIS setup on one machine to a blank IIS 7 install on another?

Including all the sites, applications, virtual directorys, ftp accounts, etc?

Thanks.

Upvotes: 1

Views: 729

Answers (2)

Jason R. Coombs
Jason R. Coombs

Reputation: 42649

The Applicationhost.config xml file (%systemRoot%\system32\inetsrv\config\ApplicationHost.config) is the main configuration file of IIS 7.0, this configuration file contains all the information about sites, virtual directories, applications, application pools and global settings for the web server.

You can copy this file to the target server, or you may just be able to point both servers at the same file using symlinks, if they both have access to a shared filesystem.

i.e.

cmd /c mklink %systemRoot%\system32\inetsrv\config\ApplicationHost.config \server\share\config\ApplicationHost.common.config

I haven't done this, but voices on the web seem to indicate this is possible.

Also, if you want more control, consider using Appcmd.

Upvotes: 1

DmitryK
DmitryK

Reputation: 5582

  1. You can use this tool http://www.iis.net/extensions/WebDeploymentTool (it can even migrate between IIS6 and 7)

  2. Alternatively you can do it manually:

http://iterat.ive.ly/index.php/2009/06/10/howto-export-iis7-configuration-to-another-webserver/

Upvotes: 1

Related Questions