We have a website that is setup on IIS 7 and are trying to replace it with a new site.
The old site used a custom file as the homepage, called WN-main.asp
The new site is no longer using ASP, and we’d like to use a regular index.html as the main file. However, when we go to the website, it keeps trying to redirect our .com to .com/WN-main.asp
In the IIS “Default Document” settings we have index.html at the top, and WN-main.asp is nowhere to be found in the list (it never was there). Where on earth in IIS is this redirect sitting? 🙂
We’ve also removed the web.config file from the root directory, and put the entire old website in a subdirectory. As well as restarted IIS. Any ideas where this redirect is sitting?
Thanks!
We are not sure exactly what ended up being the issue – somewhere, somehow, the old homepage was possibly cached on the server and the page itself had a redirect to the /WN-main.asp page…even though the server should not have been caching anything and we had checked that multiple times initially. After playing around with lots of settings, it just suddenly started working! Grrr Microsoft. The fact that we disabled and enabled asp and .net may have helped, but I’m not sure…at least it’s working now!