简体   繁体   中英

Launching localhost website in IIS7

Up until now, I've been using a local DNS tool to remap my domain to a local IP address, so that when I test my website in the browser, I just enter www.mysite.com. Due to some testing for Google OAuth code, it seems I need to have my site run as http://localhost:8080 but all the sample's I've seen uses something like:

http://localhost:8080/sample

But this is designed to work with Visual Studio's own webserver and not IIS. How can I access my site from IIS using localhost?

I think, you need to use you local IIS server as Web Server instead of Visual Studio Developer Server. Please refer image and change settings try it. 在此处输入图片说明

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