如何将IIS 7站点迁移到另一个服务器? [英] How do you migrate an IIS 7 site to another server?
本文介绍了如何将IIS 7站点迁移到另一个服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
- $ b
我是IIS的新世界,但我想知道将网站移动到其他服务器的最佳做法$ b
- 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. Thanks!
推荐答案
我会说在IIS管理器中导出您的服务器配置:
I'd say export your server config in IIS manager:
- 在IIS管理器中,单击服务器节点
- 转到管理下的共享配置
- 单击导出配置。 (如果您要通过互联网发送密码,您可以使用密码,如果您要通过USB钥匙移动它们,则不要出汗)。
-
移动这些文件到您的新服务器
- In IIS manager, click the Server node
- Go to Shared Configuration under "Management"
- Click "Export Configuration". (You can use a password if you are sending them across the internet, if you are just gonna move them via a USB key then don't sweat it.)
Move these files to your new server
administration.config
applicationHost.config
configEncKey.key
在新服务器上,返回到共享配置部分,然后选中启用共享配置。输入这些文件的物理路径中的位置并应用它们。
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!去喝一杯啤酒!
BAM! Go have a beer!
这篇关于如何将IIS 7站点迁移到另一个服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文