Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

A DNS lookup error occurred.

0 views
Skip to first unread message

Tam

unread,
Nov 18, 2001, 12:01:00 PM11/18/01
to
Hello,

When I type http://localhost/ my web site works but when I type http://tam/
I get the following message,

Bad Gateway
The following error occurred:
A DNS lookup error occurred. The host was not found.


----------------------------------------------------------------------------
----
Please contact the administrator.

Can any one tell me what I'm doing wrong? My server name is tam.

Tam


Server_Newbie

unread,
Nov 18, 2001, 12:19:27 PM11/18/01
to
This sounds like a simple name resolution problem. You need to determine if
you can resolve the 'friendly' (NetBIOS) name 'tam' to the right IP; as
opposed to the fully qualified domain name (FQDN) tam.yourdomain.com. This
is the difference between WINs/browsing and DNS name resolution.

Run a command prompt, and tracert tam
1) Does this resolve to the IP address that is assigned to the website in
MMC? Remember-in NT, the FIRST IP assigned to a network card is the ONLY IP
that gets assigned the NetBIOS name of the server. If the website operates
on a second (or third) IP assigned to the same NIC, then you will not
connect-fix is to set in MMC-'All unassigned IP's'
2) ping tam-does it reply? If not, you have no route on your network. (You
didn't mention if this is multihomed/multi network server)
3) tracert the IP address from number one-does it resolve to name 'tam'?


"Tam" <tam...@shaw.ca> wrote in message
news:uRsSSKFcBHA.1832@tkmsftngp04...

Tam

unread,
Nov 18, 2001, 2:03:45 PM11/18/01
to
In MMC I have IP Assigned as 'All unassigned IP's'

When I do tracert tam I do get the correct IP when I do tracert the IP
address it does resolve to name 'tam'.

But still I get the error

A DNS lookup error occurred. The host was not found.

Tam


"Server_Newbie" <user...@stargate.net> wrote in message
news:tvfrd7d...@corp.supernews.com...

Intermedia.NET Support (PAS)

unread,
Nov 19, 2001, 1:46:36 AM11/19/01
to
Hello.

You should check your HOSTS file for an appropriate record:

127.0.0.1 tam

or

your.ip.add.ress tam

Regards,
--
Intermedia.NET (PAS)
Microsoft Certified Solutions Provider
Providing expertise in hosting applications
MS Exchange Hosting: http://www.intermedia.net/exchangehosting
Windows 2000 Web Hosting: http://www.intermedia.net/webhosting
For a waiver of the set up fee use "IMFREE" code

Tam

unread,
Nov 19, 2001, 12:22:31 PM11/19/01
to
Yes I tried all the entries in my HOSTS file,
127.0.0.1 localhost
127.0.0.1 tam
my.ip.add.ress tam
my.ip.add.ress localhost

But still the same problem. http://localhost/ my web site works but when I
type http://tam/

"Tam" <tam...@shaw.ca> wrote in message
news:uRsSSKFcBHA.1832@tkmsftngp04...

Tam

unread,
Nov 19, 2001, 12:25:31 PM11/19/01
to
Yes I tried all the entries in my HOSTS file,
127.0.0.1 localhost
127.0.0.1 tam
my.ip.add.ress tam
my.ip.add.ress localhost

But still the same problem. http://localhost/ my web site works but when I
type http://tam/

I get the following message,
Bad Gateway
The following error occurred:
A DNS lookup error occurred. The host was not found.

I never had so much problem with Apache or PWS. But IIS is complicated,
buggy and not stable as APACHE.

Tam


> I get the following message,
>
> Bad Gateway
> The following error occurred:
> A DNS lookup error occurred. The host was not found.

"Tam" <tam...@shaw.ca> wrote in message
news:uRsSSKFcBHA.1832@tkmsftngp04...

0 new messages