How To Migrate A Website Using Web Deploy
How To Migrate A Website Using Web Deploy
You may want to migrate your websites between IIS servers when you need an OS upgrade.
In many cases, migration is easier than building a site from scratch.
You can use the Web Deploy tool to migrate websites. Web Deploy is the shorter name for
Web Deployment Tool. You can download this tool by using Web Platform Installer (More
Information). We leverage this tool by calling msdeploy in the Command Prompt.
There are different ways of performing this migration by using Web Deploy. However, before
starting the migration, check the dependencies first (Reference). Run the command below.
Based on the output, you may need to take some actions such as installing certain server
features or creating an application pool.
Import:
3. IIS settings only: You can also sync only IIS settings. In this case, you will need to
copy the content manually.
After the migration is completed, check your site’s bindings. Test if the site is accessible.