简体   繁体   中英

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 accessing 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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM