简体   繁体   中英

how to set default website in iis 7.5 when there are several websites in a site

I have a website that i put it in iis 7.5. for this purpose, I've create a new website (TestSite) in part of Sites in the my server at the iis, and i select ASP.NET v4.0 for application pool. . then i right click on it and select add application... and i create an application that was my main website (TestMyWebSite). now, when i use http://myIP/TestMyWebSite/ ,at my browser, i see my website and no problem. but i want use http://myIP/ for showing my website. please help me

Select the site in IIS, open Binding, give IP and port number 80 and Save.

Port number 80 is default port for your IP address , thus binding site to port number 80 makes it default site for IP.

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