简体   繁体   English

网站部署和IIS安装

[英]Website Deployment and IIS Setup

What's the standard or common practice to setup the local path of a website in IIS. 在IIS中设置网站的本地路径的标准或常见做法是什么? Is it c:/inetput/MYWEBSITE or c:/inetpub/wwwroot/MYWEBSITE? 是c:/ inetput / MYWEBSITE还是c:/ inetpub / wwwroot / MYWEBSITE?

According to this article you can go either way. 根据本文,您可以选择任何一种方式。 Should I put my ASP.NET websites in the wwwroot folder? 我是否应该将ASP.NET网站放在wwwroot文件夹中?

Thx for your feedback. 感谢您的反馈。

There is a wwwroot folder under Intepub. Intepub下有一个wwwroot文件夹。 The path may looks like C:\\inetpub\\wwwroot 该路径可能类似于C:\\inetpub\\wwwroot

But you don't need to put under Intetpub to make your site work. 但是您无需置于Intetpub下即可使您的网站正常工作。 you can put in any other folder also and just map the location to that folder in your website settings under IIS. 您还可以放置任何其他文件夹,只需在IIS下的网站设置中将该位置映射到该文件夹​​。

在此处输入图片说明

It is just personal choice. 这只是个人选择。 Both places works. 两个地方都可以。 I personally keep it under another folder because sometimes i forget to take backup of my inetpub. 我个人将其保存在另一个文件夹下,因为有时我忘记备份我的inetpub。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM