01-17-2013 12:06 PM
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.
01-17-2013 11:02 PM
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
01-18-2013 10:50 AM
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.
01-18-2013 11:17 AM
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
01-18-2013 11:29 AM
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.
03-20-2020 11:11 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide