I deleted a site from IIS7 and even deleted its physical path. But the site is still accessible. Could anybody provide theory (caching?) and a solution to clear the IIS cache?

thx...

link|improve this question
feedback

2 Answers

Just a guess: maybe a copy of your files is in the Default Web Sites' (standard: C:\Inetpub\wwwroot)?

In that case, if IIS' Default Web Site is enabled it will accept all host headers and answer to requests of your deleted web site.

I would to try to stop the IIS and see if you still get the site. If you still get pages, the site is probably on a different server.

link|improve this answer
feedback

I would check IIS logfiles to verify if the site is still been served from the same server. If you have deleted the site from IIS, there is no ways the site is accessable. I would also check if there is any device in between the client and server that would have cached the pages.

link|improve this answer
And make sure that you are not seeing browser cached pages or Proxy pages as well. – Larry Smithmier Nov 7 '10 at 14:24
maybe it is something different. I deleted index.html of the first created website (was a duplicate as the mentioned above). Now I cant access the deleted domain as wanted. I don't know why every request tries to access my first created website. Need to know more theory. – user47521 Nov 7 '10 at 14:44
The reason is Default Web Site has * for Bindings and which means all IP's, so even though you deleted the site the request would still be served by the DWS as it was able to handle the requests. – Vivek Kumbhar Nov 8 '10 at 2:26
Thank you. It is something with this related. Now I have to find out why my website1 (i.e. www.xyz.com) is treated as the Default Website – user47521 Nov 8 '10 at 9:57
feedback

Your Answer

 
or
required, but never shown