Should I put my ASP.NET websites in the wwwroot folder?

后端 未结 4 1253
小蘑菇
小蘑菇 2020-12-07 19:48

I have a number of websites that run under IIS on a single machine.

Should I put these websites inside of the C:\\inetpub\\wwwroot\\ folder or inside the C:\\inetpub

4条回答
  •  无人及你
    2020-12-07 20:28

    There is no definitive answer but

    • C:\inetpub\wwwroot\Website1\
    • C:\inetpub\wwwroot\Website2\

    are the standard locations for web sites. For example c:\inetpub\ftproot could be used to host an FTP site.

提交回复
热议问题