Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: When I type www.localhost, where is index.html

18 Oct 2011   #1

Windows 7 32
 
 
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 System SpecsSystem Spec
.

18 Oct 2011   #2

Windows 7 Ultimate x64 SP1
 
 

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 System SpecsSystem Spec
20 Oct 2011   #3

Windows 7 32
 
 

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 System SpecsSystem Spec
.


20 Oct 2011   #4

Windows 7 Professional SP1 32-bit
 
 

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 System SpecsSystem Spec
20 Oct 2011   #5

Windows 7 32 bit
 
 

Quote:
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 System SpecsSystem Spec
20 Oct 2011   #6

Windows 7 Professional SP1 32-bit
 
 

Quote   Quote: Originally Posted by MilesAhead View Post
The OP is running Apache.

FAQ - Httpd Wiki
Totally missed that.
My System SpecsSystem Spec
20 Oct 2011   #7

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by Corazon View Post
Quote   Quote: Originally Posted by MilesAhead View Post
The OP is running Apache.

FAQ - Httpd Wiki
Totally missed that.
Happens to me all the time.
My System SpecsSystem Spec
21 Oct 2011   #8

Windows 7 32
 
 

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 System SpecsSystem Spec
21 Oct 2011   #9

Windows 7 Professional SP1 32-bit
 
 

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 System SpecsSystem Spec
21 Oct 2011   #10

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by otuatail View Post
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 System SpecsSystem Spec
Reply

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




Thread Tools



Similar help and support threads for2: When I type www.localhost, where is index.html
Thread Forum
Is default email account type deteremined by type of device? Microsoft Office
Solved Search Index not finding content in HTML files General Discussion
Solved Windows 7 x64 and localhost to web Network & Sharing
Website: index.html does not register Browsers & Mail
Localhost not working Network & Sharing
Cant browse to localhost with iis 7 and 2 ips Network & Sharing
Localhost FTP For Dreamweaver Network & Sharing

Our Sites

Site Links

About Us

Find 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 12:29 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33