Sub-Website in IIS - ASP.NET

2020-02-12 06:02发布

I have a asp.net website in the IIS which is available on internet as www.xyz.com now I have been asked to prepare another website which will be accessed via www.xyz.com/abc.

For this, do I need to create a virtual directory under the website folder XYZ in IIS? or is there any other way to achieve this.

2条回答
\"骚年 ilove
2楼-- · 2020-02-12 06:26

Yes a virtual directory will work, however note that if abc is a full-blown app you will have to add it as an application not as a virtual directory

查看更多
仙女界的扛把子
3楼-- · 2020-02-12 06:30

You need to make the subdirectory an IIS application.

Keep in mind that inner apps like yours will be inheriting configurations from the top-most web configuration, so be careful clearing those settings you don't want in the child applications.

查看更多
登录 后发表回答