You can use Web Deploy tool to migrate your IIS websites from one server to another. I have been trying to transfer a site from Windows Server 2008 R2 to Windows Server 2016 server. I came across this error message:
It’s inevitable to migrate your websites from one server to another due to operating system upgrades. I have recently worked on migrating a website from Windows Server 2008 R2 to Windows Server 2016. You will find different ways of performing this migration by using Web Deploy.
Web Deploy is the shorter version 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.