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
otuatail

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
SnarkyTwit

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
otuatail

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
Corazon

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
MilesAhead

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
Corazon

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
MilesAhead

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
otuatail

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
Corazon

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
MilesAhead

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
Thread Forum
localhost is not working
I try to connect to my localhost via firefox, i even have the 127.0.0.1 localhost in my hosts file, and still does not connect. I was trying to configure a controller for JDownloader, and i need to check if my localhost works. http://i60.tinypic.com/6jh8ww.jpg Any help would be...
Network & Sharing
Search Index not finding content in HTML files
I have .htm and .html files in a folder that is indexed (under Users folder). In Control Panel/Indexing Options/Advanced/File Types, I have the .htm and .html extensions, and they are set to index properties and file contents. I've tried unchecking them, rebuilding index, then checking and...
General Discussion
Website: index.html does not register
Have a website barendh.com with a simple structure, starting with index.html. Whenever I update some files this works fine, but when I try to replace index.html still the old version is shown, even when I just rename it to index.htmlBAK. I suppose it's some sort of refreshing thing, but I can't...
Browsers & Mail
Localhost not working
Hi lads, New here. The name is Dave. I'm hoping someone can help me out. When I try to view http://localhost , i get nothing . Page not found. I have WAMP server installed. I just can't seem to figure out whats wrong. I've restarted all the services in WAMP and everything but still,...
Network & Sharing
Cant browse to localhost with iis 7 and 2 ips
Hi Guys, Yesterday I was able to browse to http://localhost and see my iis webserver, today I installed an extra ip address onto my machine so I now have 192.168.10.251 and 192.168.10.252 and now when I browse to localhost I get a forbidden message? Does anyone know how to get my iis back...
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 07:57.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App