cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
23810
Views
0
Helpful
5
Replies

Can't connect to website via name

KBEENNN145
Level 1
Level 1

From a computer, I am unable to connect to a website on a web server through the websites name. I am only able to connect to the website through its ip address. However if I use the browser on the server its self, I am able to connect through both the websites ip and name.

When I try to access the website through a computer, after a while of nothing, I receive "Host Name Unresolved".

I've looked at a couple project examples I found on here and I can't see what I'm doing wrong compared to them, so if someone could explain what this means or what I could be doing wrong, I would really appreciate it.

Also sorry if this is the wrong question, the different areas threw me off a little.

5 Replies 5

padramas
Cisco Employee
Cisco Employee

Hello Ben,

From the computer, are you able to resolve the webserver hostname ?

nslookup

Is your PC configured with DNS server ? Is there a DNS record for the webserver name ?

Padma

Thanks for the reply,

From the computer, are you able to resolve the webserver hostname ?

I am not, it times out.

I've setup the PC with the DNS server, and there wasn't a record of the DNS server. I added a record for the DNS server, and I still have the same problem.

I am trying to use the same server for both the webserver and DNS server. I am able to ping the server from a computer and get a reply.

Ben,

Do you have multple NIC interfaces configured on the system?  Sometimes what will happen is depending on the binding order your DNS or web queries will go out the wrong interface.

If you're not sure get the output of "ipconfig /all" if its windows or "ifconfig" from Linux/MAC.

What's the exact web address you're trying to reach?

There are two factors here, DNS resolution and routing path.

DNS is easily tested with a "ping www.sitename.com"  If it resolves the IP then you should be good from a DNS perspeciive.

Next is to see if you can route to the site.  Do "tracert x.x.x.x" by the IP of the site and see the path & hops taken to reach the site.  Hopefully your testing with a realible website like google.com or yahoo.com.

Robert

I am terribly sorry if I have misslead you, I am using packet tracer.

I am unable to ping the webname or web address from either the server or computer.

here the solution. so simple it makes you shoot someone lol.

type the server name in web browser like cisco.com DONT try to type something like www.cisco.com.

Review Cisco Networking for a $25 gift card