How do you migrate an IIS 7 site to another server?
问题 I'm wondering what is the best practice for moving a website to another server (along with all settings, etc.) Manually recreate the site on the new server (not maintainable for obvious reasons) Copy the applicationHost.config settings file Use appcmd to make a backup and restore Use MSDeploy to publish the site on the new machine Use a 3rd party tool Just wondering what others' experiences have been. 回答1: I'd say export your server config in IIS manager: In IIS manager, click the Server node