localhost

  • pritesh_a
  • Graduate
  • Graduate
  • pritesh_a
  • Posts: 158
  • Loc: South London/UK

Post 3+ Months Ago

when i type ----->
http://localhost/test

into my browser address bar.....The page cannot be found
apppears....

any solutions??
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • griko
  • Born
  • Born
  • griko
  • Posts: 3

Post 3+ Months Ago

depends is there "index.htm" [index.html,default.asp and etc.] in "test" directory on your server
  • pritesh_a
  • Graduate
  • Graduate
  • pritesh_a
  • Posts: 158
  • Loc: South London/UK

Post 3+ Months Ago

should there be a folder called Test in my wwwroot folder with a file called index.htm in it???
Is that what your asking?
  • namas
  • Newbie
  • Newbie
  • namas
  • Posts: 9

Post 3+ Months Ago

What are you expecting to find?
There should be test.html if you are looking for a page..
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

the way you are typing it http://localhost/test

The browser is expecting to find a folder/directory named "test"

This "test" directory should be a folder you created in wwwroot. Any files you create should be saved in the test directory, and the first one should be either index.html or index.htm By default IIS assumes those files so when you type in http://localhost/test/ It automatically brings up your index.html file. It's the same as typing http://localhost/test/index.html


On the other hand if you created a file named test then you have to include the extension for example http://localhost/test.html
  • pritesh_a
  • Graduate
  • Graduate
  • pritesh_a
  • Posts: 158
  • Loc: South London/UK

Post 3+ Months Ago

ok i have a file in the wwwroot called index.html

when i type http://localhost/index.html in brower, nothing comes up, The page cannot be found HTTP 404 - File not found
Internet Explorer
  • griko
  • Born
  • Born
  • griko
  • Posts: 3

Post 3+ Months Ago

if u have firewall on ur computer, maybe it doesn't give information to enter on TCP port (80)... also there is a bug in Windows 98, if u r behind the proxy, u won't be able to connect on ur web-server by typing "http://localhost", but it will work with "http://127.0.0.1"...
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Is the file on your computer, or some other computer? You can't use localhost if it's on another computer. If it's on your network you use the computer name in place of localhost.

Example: http://computername/index.html
  • pritesh_a
  • Graduate
  • Graduate
  • pritesh_a
  • Posts: 158
  • Loc: South London/UK

Post 3+ Months Ago

hay ATNO/TW
Super Moderator,

have you read my topic on:
DW MX list box

please could you help in in the same Main topic section as this
  • delhipro
  • Novice
  • Novice
  • delhipro
  • Posts: 28
  • Loc: india

Post 3+ Months Ago

The best way to check the things is to allow directory browsing in IIS or PWS and put some folders in your test folder. run again your localhost/test and see whether they appear. If yes then rename your file to say index1.html and click on that and see the result. If not, then some problem with your IIS or PWS, then you have to reinstall them

Post Information

  • Total Posts in this topic: 10 posts
  • Users browsing this forum: No registered users and 17 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.