如何使用IIS6 Webserver win 2003在一台服务器中托管2个Asp.net web应用程序 [英] How to Host 2 Asp.net webapplications in one Server using IIS6 Webserver win 2003

查看:57
本文介绍了如何使用IIS6 Webserver win 2003在一台服务器中托管2个Asp.net web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,



每个人的好日子。



我的工作是基于使用Asp.net,c#,SqlServer 2005编程。



我在Asp.net中创建了两个Web应用程序,它运行良好。



现在最后我想在我们当地的办公室服务器上托管。顺便说一句,我只能访问一台服务器。 (我们的服务器是带有IIS 6的Windows 2003)



我想在一台服务器上托管这多个Web应用程序。我想使用Slash(/)访问这两个应用程序。



注意:这两个是具有不同数据库的不同应用程序。



请给我一个很好的解决方案



谢谢。

Hi Friends,

Good day to everyone of you.

My Job is Based on Programming using Asp.net , c# , SqlServer 2005.

I have created TWO Web applications in Asp.net its works well.

Now Finally I want to Host in our local office server. By the way I have access to only one server. (Our Server is Windows 2003 with IIS 6)

I want to host this multiple web applications in one server. and i want to access both the applications using Slash(/).

Note : These two are different applications with different Databases.

Please give me a good solution

THANKS.

推荐答案

我想在您的wwwroot文件夹中有一个名为bin的文件夹。放置您的网站可能需要的任何dll,包括您的Web应用程序的dll。将所有aspx / ascx放在bin之外。注意保持现场结构;添加必要的文件夹并在其中放置相应的页面和配置。最后注意设置AppPool配置。它应该指向您的网站运行的框架版本。希望这会有所帮助。
I suppose in your wwwroot folder have a folder called bin. Place any dlls your site may need inside including those of your web app. Place all aspx/ascx outside bin. Take care of maintaining site structure here; add necessary folders and place corresponding pages and configuration inside them. Finally take care of setting your AppPool configuration. It should point to the framework version your site runs on. Hope this helps.


注意:这两个是具有不同数据库的不同应用程序。

问题是什么?只需在服务器上逐个托管它们。由于两者都是单独的应用程序整体,您不必做任何额外的事情。



主持人然后主持其他人。两者都有自己的URL来访问。

参考:在IIS6上部署网站 [ ^ ]


这篇关于如何使用IIS6 Webserver win 2003在一台服务器中托管2个Asp.net web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆