When I type www.localhost, where is index.html

Page 1 of 3 123 LastLast

  1. Posts : 102
    Windows 7 32
       #1

    When I type www.localhost, where is index.html


    When I type www.localhost, where is index.html

    I have asked this question on other news groups even Microsoft. Why is this such a hard question to answere. I have installed Apachi web server on my PC but when I type www.localhost into a web browser, I find myself looking at a difrent file.

    HELP
      My Computer


  2. Posts : 63
    Windows 7 Ultimate x64 SP1
       #2

    Hi Otuatail,

    Try typing just localhost and leave out the www. That may work. If not, you can try typing 127.0.0.1

    Hope that helps!
    Snarks
      My Computer


  3. Posts : 102
    Windows 7 32
    Thread Starter
       #3

    Got the t-shirt. I am a website developer. I know about 127.0.0.1.
    I have a samsing 800G hard disk. Where is index.html. That is the problem. Where would bill gates put it. I assume it would be in a folder called htdocs/

    When I said I typed in www.localhost, I DO get a web page displayed. Problem is locating that page.
      My Computer


  4. Posts : 1,781
    Windows 7 Professional SP1 32-bit
       #4

    Which browser are you using? I was curious and typed "www.localhost" into my address bar in Firefox. It automatically changed to "www.localhost.com" and that site, whatever it is, gave me a 'connection was reset' error.

    If you're actually able to load something from "www.localhost" then you must be running a local webserver on your computer; there's no other way. Neither Mr. Gates nor the size of your harddisk will have anything to do with it, nor am I quite sure why you think there's a folder "htdocs."

    Describe the page you're seeing. What does it say? Better yet, can you show us a screenshot of it?
      My Computer


  5. Posts : 5,092
    Windows 7 32 bit
       #5

    If you're actually able to load something from "www.localhost" then you must be running a local webserver on your computer;
    The OP is running Apache.

    FAQ - Httpd Wiki
      My Computer


  6. Posts : 1,781
    Windows 7 Professional SP1 32-bit
       #6

    MilesAhead said:
    The OP is running Apache.

    FAQ - Httpd Wiki
    Totally missed that.
      My Computer


  7. Posts : 5,092
    Windows 7 32 bit
       #7

    Corazon said:
    MilesAhead said:
    The OP is running Apache.

    FAQ - Httpd Wiki
    Totally missed that.
    Happens to me all the time. :)
      My Computer


  8. Posts : 102
    Windows 7 32
    Thread Starter
       #8

    If I open a browser like firefox or internet explorer and type in the url of a website and it comes up with a page does the website exsist? Yes it does. If I type www,localhost or 127.0.0.1 and a web page does apear with a welcome message does this page exsist. You say it does not exsist but if you search the internet you will fond information on this topic. On a new IIS instalation it would point to something like htdocs/index.html. it would be a html page. You thinkt that the page that I am looking at does not exsist anywhere not even on my local hard disk. This is very strange.

    I remeber years ago when XP was out adding IIS to it and I definatly had a folder and file index.html created with a default page created. I could edit this page and even create a loacl website for development issues. But you seem to think that the page I am looking at in my web browser does not exsist.
      My Computer


  9. Posts : 1,781
    Windows 7 Professional SP1 32-bit
       #9

    I simply missed the part in your original post saying you were running Apache, that's all.

    Still not quite clear as to why you insist on typing www.localhost and not simply localhost, though. You also haven't said what the page looks like or what it tells you, yet.

    Have you consulted the documentation for Apache to find an answer to your question? I'm not familiar with either Apache or IIS myself.
      My Computer


  10. Posts : 5,092
    Windows 7 32 bit
       #10

    otuatail said:
    If I open a browser like firefox or internet explorer and type in the url of a website and it comes up with a page does the website exsist? Yes it does. If I type www,localhost or 127.0.0.1 and a web page does apear with a welcome message does this page exsist. You say it does not exsist but if you search the internet you will fond information on this topic. On a new IIS instalation it would point to something like htdocs/index.html. it would be a html page. You thinkt that the page that I am looking at does not exsist anywhere not even on my local hard disk. This is very strange.

    I remeber years ago when XP was out adding IIS to it and I definatly had a folder and file index.html created with a default page created. I could edit this page and even create a loacl website for development issues. But you seem to think that the page I am looking at in my web browser does not exsist.
    If you search the FAQ in the link I posted it details how to point to the index.html page. That's why I posted it. Just use your browser search on "index.html" in the FAQ.
      My Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:15.
Find Us