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.
Best Solution
I'd say export your server config in IIS manager:
Move these files to your new server
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.
BAM! Go have a beer!