简体   繁体   中英

How to stop redirecting locally hosted iis websites

So I've setup a website in IIS to point to a folder that contains index.html. I named the site as productmanagement.com with IP address all unassigned and port set to the default 80. Now when I try to go to http://productmanagement.com , it'll goto some other website and not hit my index. What do I do to tell it to hit that?

Nevermind. After further researching I found out that I had to edit the hosts file. After pointing my IP address to the site name, it worked.

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