example.com Vs WWW.example.com: why the difference?

Discussion in 'HTML & Website Design' started by desibull, Jul 10, 2007.

  1. #1
    I'm a newbie in webdesigning world and am currently perplexed by a small technical problem that I can not sort out on my own.

    I designed the index.html page of my website and uploaded it in 3 folders of my host server account- root, public_html, public_ftp. Then I checked and http://www.MyWebsite.net and http://MyWebsite.net both showed this page.

    Today I decided to instal WordPress on my site and remove the old site. I installed wordpress using fantastica and removed the old index.html from all three folders. Now when I type http://MyWebsite.net I see my WordPress page, but when I type http://www.MyWebsite.net I still see my old index.html page.
    In a desperate attempt to solve this problem I copied index.php (of wordpress) into all three folders where old index.html was copied previously. But the problem still persists.

    When I type www.mywebsite.net-----I see old index.html page
    www.mywebsite.net/index.html----No page found
    www.mywebsite.net/index.php-----New Wordpress page
    mywebsite.net-------new WordPress page
    mywebsite.net/index.php---new WordPress page
    mywebsite.net/index.html---No page found

    Any idea where did I make a mistake? I know that the index file only needs to be in public_html folder and nowhere else.

    Any inputs will be GREATLY appreciated.
     
    desibull, Jul 10, 2007 IP
  2. alemcherry

    alemcherry Guest

    Best Answers:
    0
    #2
    Seems like a caching issue. You need to upload files under public_html. Others wont have any effect.

    Except for that, most likely there is no other probs. You can test using any web based proxy sites to confirm. Caching can be at your ISP level or outside your PC. So testing froma geographically differnt location helps. There are hundreads of free proxy sites if you want.
     
    alemcherry, Jul 10, 2007 IP
  3. desibull

    desibull Peon

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    When accessed through a proxysite, all combinations of URLs show the site as desired. But when accessed directly, www.MyWebsite.net still shows the old index.html. I hope its all because of caching by my computer.

    Thanks a bunch for your reply.
     
    desibull, Jul 10, 2007 IP
  4. desibull

    desibull Peon

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Problem solved! I checked the site from my colleagues computer in my office, and it now shows the right way.
    Many thanks alemcherry!
     
    desibull, Jul 10, 2007 IP
  5. haruko764

    haruko764 Peon

    Messages:
    25
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    For future reference, control+F5 forces your browser to re-load the page instead of looking at its own cache.
     
    haruko764, Jul 10, 2007 IP