Cannot get new default page to load

Discussion in 'Visual Studio' started by StormVet, Dec 20, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Just getting set up today.

    As most of you know, site comes with an index.htm which you can replace or overwrite if you choose.

    I connect with VS 2005, create a default.aspx page, and both rename index.htm to index.old.htm AND move it into a /legacy folder I created. In other words there's no index.htm in the site root anymore.

    I rebuild the site and click save.

    I then visit mywww.<myurl>.com and the original index.htm is still shown, even though it's been removed from the root directory.

    I go into my browser settings and delete old internet files and set it to get a new page every time. I go in Discount ASP's control panel and move default.aspx to the top of thedefault document list. I stop and restart the web server.

    Same thing. I get the old index.htm. I can get the intended root page with <a target="_blank" href="http://www.<myurl>.com/default.aspx" target=_blank>www.<myurl>.com/default.aspx</A> explicitly, but it won't simply show up by default as it's supposed to. Anyone else have this problem?

    I also noticed when I stopped the web server www.<myurl>.comwould still show the old index.htm but www.<myurl>.com/default.aspx</A> gives a not found error. How does it issue index.htm whenthe http daemon isshut off?

    Post Edited (StormVet) : 12/20/2006 7:26:50 PM GMT
     
  2. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

  3. also try accessing your site via the alternate url (info in the control panel). Could it be possible you are pulling up the site from your previous hosting service?


    Joel Thoms
    DiscountASP.NET
    http://www.DiscountASP.NET
     
  4. No it's none of that stuff.

    It's resolving properly.

    As I said in the OP, I can turn my webserver OFF and I still get the old page. At that time it was the index.htm from DASP, so how could that have ever gotten on a previous host's server?

    It's as if somehow, in the vast annals of the DASP system, the root/default application page is being stored/cached somehow. Even now I am trying to experiment with the formatting for the main page - wanted to try some different color and font options - and I keep getting the old page no matter what I do to my style sheet.

    grrrr!
     
  5. mjp

    mjp

    If you turn your web service off and the page still comes up you're seeing the file from another server. You may be stuck in a long DNS cache - some ISPs don't update as frequently as others. Though if this is ongoing since 12/20 I think you can rule out DNS cache. If you're using AOL they are also known to cache pages on their servers.


    Either way, your changes here are visible instantly, we don't cache or run server clusters, etc., that might cause such an issue. So it isn't caching here. You should post your URL or open a support ticket.

    mjp
    DiscountASP.NET
    <SUB><SUP>http://DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page