Problem with DNS

S

Sameer

Hello,
An IIS Server is installed on my machines with Windows 2000 Server as
an OS.
When I type http://localhost , I got the Page Not Found errormessage.
If I type http://127.0.0.1, I am getting the homepage.
This may be a problem with DNS but I verified that DNS service is
running.
Also if I open this intranet site from another machine in the network
using
http://machine-name, it gets opened.

That is only from on the machine it self i am not getting the homepage
using localhost or machine name.
What may be the problem?
 
R

Robert L [MS-MVP]

try these two commands: ping localhost and ping -a 127.0.0.1. Please post back with the results.

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Hello,
An IIS Server is installed on my machines with Windows 2000 Server as
an OS.
When I type http://localhost , I got the Page Not Found errormessage.
If I type http://127.0.0.1, I am getting the homepage.
This may be a problem with DNS but I verified that DNS service is
running.
Also if I open this intranet site from another machine in the network
using
http://machine-name, it gets opened.

That is only from on the machine it self i am not getting the homepage
using localhost or machine name.
What may be the problem?
 
R

Richard G. Harper

Have you checked the HOSTS file to be sure that the localhost entry exists
correctly? If it does not you will not be able to resolve the name
localhost even though 127.0.0.1 does ping.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* PLEASE post all messages and replies in the newsgroups
* for the benefit of all. Private mail is usually not replied to.
* My website, such as it is ... http://rgharper.mvps.org/
* HELP us help YOU ... http://www.dts-l.org/goodpost.htm
 
S

Sameer

Both commands works well and give Ping statistics as 0% lost.
The hosts file in the c:\winnt\system32\drivers\etc directory also have
the entry
localhost 127.0.0.1
Still I cant get the homepage by typing http://localhost.
Please help.
 
P

Phillip Windell

Sameer said:
Both commands works well and give Ping statistics as 0% lost.
The hosts file in the c:\winnt\system32\drivers\etc directory also have
the entry
localhost 127.0.0.1
Still I cant get the homepage by typing http://localhost.
Please help.

Mine doesn't work with Localhost and never has,...I always use the machine
name,..works fine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top