如何将1个网站的IIS设置移至另一台计算机?

发布于 2025-02-09 19:00:40 字数 850 浏览 1 评论 0原文

我可以访问托管多个站点的IIS服务器(SVRA)。

我正在在另一台服务器(SVRB)上设置一个UAT环境,我想在该服务器上部署上述网站之一。我已从SVRA复制了网站文件夹,并将其粘贴在SVRB上。

  1. 该文件夹包含web.config,我假设它将自动配置网站的IIS设置?

  2. 还有其他我需要手动记录以复制的设置吗?

  3. 是否有一种更简单的方法来复制设置(例如:导出到TXT文件),而不是手动记录每个设置?

经过进一步的研究,看起来有3个选项可以复制设置:

  1. Web部署( https: //www.iis.net/downloads/microsoft/web-deploy
  2. 使用IIS 共享配置中的导出功能 tab( https://www.itnota.com/migrate-iis-iis-websites-to-dirferent-server/
  3. appcmd.exe(请参阅上面的相同链接)

App池和网站设置就是一切正确吗?还是应用程序池和网站设置以外还有其他设置?

I have access to an IIS server (SvrA) that hosts multiple sites.

I am setting up an UAT environment on another server (SvrB) into which I want to deploy one of the above sites. I have copied the website folder from SvrA and pasted it on SvrB.

  1. The folder contains web.config which I assume will automatically configure the IIS settings for the website?

  2. Are there any other settings that I need to manually note down to copy?

  3. Is there an easier way to copy the settings (for example: export to txt file) rather than manually noting down each setting?

Upon further research it looks like there are 3 options to copy the settings:

  1. Web deploy (https://www.iis.net/downloads/microsoft/web-deploy)
  2. Using export functionality in the IIS Shared configuration tab (https://www.itnota.com/migrate-iis-websites-to-different-server/)
  3. Using AppCmd.exe (refer to same link as above)

Is it correct that app pool and website settings is everything? or is there any other setting beyond the app pool and website settings?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文