开发者

Where does IIS intend developers to put additional websites?

开发者 https://www.devze.com 2023-04-06 00:37 出处:网络
On a fresh install of Windows Server 2008 R2 with IIS 7, it creates a default website in C:\\inetpu开发者_如何学Pythonb\\wwwroot. I\'m sure there\'s lots of subjective opinion on where good places to

On a fresh install of Windows Server 2008 R2 with IIS 7, it creates a default website in C:\inetpu开发者_如何学Pythonb\wwwroot. I'm sure there's lots of subjective opinion on where good places to store website files are, but I'm wondering if I were to create a second website, in addition to the default website, where would the IIS developers have intended I put it?

I'm thinking C:\inetpub\mysecondsite, but I can't say for sure.


You can really put your new web site's files wherever you want on the server. Most people tend to make subfolders for each individual site under the wwwroot. I usually delete the Default Web Site and start from scratch.

For example:
C:\inetpub\wwwroot\myfirstsite
C:\inetpub\wwwroot\mysecondsite

0

精彩评论

暂无评论...
验证码 换一张
取 消