A deleted default.htm page keep coming back
A deleted default.htm page keep coming back
am 20.12.2007 07:05:01 von labelladonna
I hosted a web site at home on W2K adv server and IIS 5.0. Yesterday I put
the web hosting computer behind a linksys router(wrt54gc); then, I enabled
port 80 in the router, created a default.htm page with note pad that has only
the word 'Hi!", and put it in c:\inetpub\wwwroot for test purpose. During
the test I successfully accessed this 'Hi!' page by typing 127.0.0.1 on local
computer, and by typing www.sitename.com from computers of a different
network. I, therefore, thought the configuration was successful; so I
deleted the 'Hi!" page, and move all the previous files of my site into
c:\inetpub\wwwroot; this includes a default.htm file with text and image and
tables. After doing this, things appear weird. I must type
www.sitename.com/Default.htm or www.sitename.com. to gain access into the
site's default page. If I type www.sitename.com, I'd open the 'Hi!" page
although I have deleted this page and even cleard the recycle bin. The
property of my default web site was similar for both the 'Hi!' page and the
real default.htm page:
description: default web site
IP Address: all unassign
TCP Port: 80
Can anyone please tell me what went wrong?
Re: A deleted default.htm page keep coming back
am 20.12.2007 07:48:50 von David Wang
On Dec 19, 10:05 pm, labelladonna
wrote:
> I hosted a web site at home on W2K adv server and IIS 5.0. Yesterday I put
> the web hosting computer behind a linksys router(wrt54gc); then, I enabled
> port 80 in the router, created a default.htm page with note pad that has only
> the word 'Hi!", and put it in c:\inetpub\wwwroot for test purpose. During
> the test I successfully accessed this 'Hi!' page by typing 127.0.0.1 on local
> computer, and by typingwww.sitename.comfrom computers of a different
> network. I, therefore, thought the configuration was successful; so I
> deleted the 'Hi!" page, and move all the previous files of my site into
> c:\inetpub\wwwroot; this includes a default.htm file with text and image and
> tables. After doing this, things appear weird. I must typewww.sitename.com/Default.htmorwww.sitename.com. to gain access into the
> site's default page. If I typewww.sitename.com, I'd open the 'Hi!" page
> although I have deleted this page and even cleard the recycle bin. The
> property of my default web site was similar for both the 'Hi!' page and the
> real default.htm page:
> description: default web site
> IP Address: all unassign
> TCP Port: 80
>
> Can anyone please tell me what went wrong?
There are many things that can cache that web page between you typing
www.sitename.com and IIS serving back your updated content. Any one of
them could have kept the old "hi" page and ignore the updated page,
resulting in what you observe.
The world wide web is designed to cache like this. When it works,
things are fast, but when it doesn't, you get stale data. This is just
a part of life.
Unless deleting the page or clearing the recycle bin has anything to
do with those various caches, you should see no effect, which you have
confirmed.
You can remove IIS-side caching by restarting IIS -- if the page is
still cached, then you have a stale cache outside of IIS that you must
clear. May be from the proxy. May be from the browser itself.
You must find and clear all caches between your browser and server.
And there is no simple command to do this because all those caches are
on different computers not under your control to just "clear caches".
You have to figure it all out and do it yourself.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Re: A deleted default.htm page keep coming back
am 26.12.2007 02:07:00 von labelladonna
Thank you for pointing out the right direction.
"David Wang" wrote:
> On Dec 19, 10:05 pm, labelladonna
> wrote:
> > I hosted a web site at home on W2K adv server and IIS 5.0. Yesterday I put
> > the web hosting computer behind a linksys router(wrt54gc); then, I enabled
> > port 80 in the router, created a default.htm page with note pad that has only
> > the word 'Hi!", and put it in c:\inetpub\wwwroot for test purpose. During
> > the test I successfully accessed this 'Hi!' page by typing 127.0.0.1 on local
> > computer, and by typingwww.sitename.comfrom computers of a different
> > network. I, therefore, thought the configuration was successful; so I
> > deleted the 'Hi!" page, and move all the previous files of my site into
> > c:\inetpub\wwwroot; this includes a default.htm file with text and image and
> > tables. After doing this, things appear weird. I must typewww.sitename.com/Default.htmorwww.sitename.com. to gain access into the
> > site's default page. If I typewww.sitename.com, I'd open the 'Hi!" page
> > although I have deleted this page and even cleard the recycle bin. The
> > property of my default web site was similar for both the 'Hi!' page and the
> > real default.htm page:
> > description: default web site
> > IP Address: all unassign
> > TCP Port: 80
> >
> > Can anyone please tell me what went wrong?
>
>
>
> There are many things that can cache that web page between you typing
> www.sitename.com and IIS serving back your updated content. Any one of
> them could have kept the old "hi" page and ignore the updated page,
> resulting in what you observe.
>
> The world wide web is designed to cache like this. When it works,
> things are fast, but when it doesn't, you get stale data. This is just
> a part of life.
>
> Unless deleting the page or clearing the recycle bin has anything to
> do with those various caches, you should see no effect, which you have
> confirmed.
>
> You can remove IIS-side caching by restarting IIS -- if the page is
> still cached, then you have a stale cache outside of IIS that you must
> clear. May be from the proxy. May be from the browser itself.
>
> You must find and clear all caches between your browser and server.
> And there is no simple command to do this because all those caches are
> on different computers not under your control to just "clear caches".
> You have to figure it all out and do it yourself.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>