RedditPP Mascot

RedditPP

r/sysadmin • … • u/OtherPlayers

IIS URL Still Redirecting When Disabled

Going into day 2 of this and I'm running out of ideas so any help would be amazing.

So I have a legacy Windows Server 2012 system, IIS 6.2 (ancient I know, but nobody wants to pay to update something that isn't 100% broken yet :/ ). The site and applications on it are set up like this (each application is in a totally separate folder and uses a separate app pool in IIS):

* MY-WEBSERVER * Default Web Site * DEV\_Dashboard * DEV\_Private * DEV\_Public * Private * Public

Default Web Site has HTTP Redirect turned **ON** to redirect to /Public with the "Redirect all requests to exact destination" box **unchecked** and the "Only redirect requests to content in this directory" box **checked**. Everything else has HTTP Redirect turned **OFF**.

Here's what I'm seeing:

* mysite.com/ -> mysite.com/Public (Good!) * mysite.com/DEV\_Dashboard -> mysite.com/Public/DEV\_Dashboard (**BAD!**) * mysite.com/Public -> mysite.com/Public * mysite.com/Private -> mysite.com/Private * mysite.com/DEV\_Public -> mysite.com/DEV\_Public * mysite.com/DEV\_Private -> mysite.com/DEV\_Private

I can see the dashboard page via localhost/DEV\_Dashboard so I know that it's working. But I can not, for the life of me, stop the server from redirecting the mysite URL. At this point I've tried:

* Clearing the client browser cache * Enabling and re-disabling DEV\_Dashboard's HTTP redirect * Restarting the IIS server * Restarting the whole web server * Opening the page on a different client using a different internet connection that has never been to the site before * Checking the web.config and machine.config files to see if the redirect was stuck in there * Totally deleting the DEV\_Dashboard application before recreating and redeploying it * Making sure output caching is turned off on everything in IIS * Going setting-by-setting to try to find something different between the dashboard and the other pages (no luck)

I'm starting to think that maybe IIS isn't recognizing that DEV\_Dashboard is a real page, so it's falling back to the default site redirect? But I'm not even sure where I'd look to check that.

Thanks again!

Edit: Solved. Apparently our dev and uat URL’s were pointed at production. (O_O)

— 0