开发者

ASP.NET Hosting and routing

Is it possible to host 2 asp.net projects off one ip address? I don't have a domain name just an ip number. I'm running IIS7.

The first project runs and displays fine over the web by simply typing in the ip address into the browser but I'm having trouble accessi开发者_开发技巧ng the second.

Currently both projects have virtual directories in IIS7.

Help is greatly appreciated.

Thx


Is it possible to host 2 asp.net projects off one ip address? I don't have a domain name just an ip number

Yes, you can vary the ports the two projects run under. So your URL will look something like: http://xxx.xxx.xxx.xxx:8080


If they are in Virtual directories then you could just access them using the Virtual Directory name if you set it up:

http://xxx.xxx.xxx.xxx/Application1/

and

http://xxx.xxx.xxx.xxx/Application2/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜