简体   繁体   中英

IIS 10 web routing configuration

I am not sure how this done or what I need to do, I think all I need is a simple rewrite rule but I do not know.

I have a website that www.mysite.com loads the site, but when I browse to mysite.com it goes to a different page that basically says pageOk. I am not sure where that redirect is happening - as this was occurring with our old server (some one else managed that) - I installed IIS on a new server and so now the traffic at www.mysite.com is fine but I still have this issue of mysite.com showing a page that I do not have in my application.

What do I need to do to fix this or where might this issue be coming from?

firest check the do any is URL rewrite rule and HTTP redirect is affecting this. check both server level and site level.

try to run failed request tracing in iis.

check browsers developer tool -> network tab which status code it is showing.

https://docs.microsoft.com/en-us/iis/troubleshoot/using-failed-request-tracing/troubleshooting-failed-requests-using-tracing-in-iis

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