I am having trouble getting to a certain server/website online and also connecting to the server with ssh USERNAME@HOSTNAME
. Am using a machine with Lubuntu 14.04. I can connect to the server from all other computers I have tried.
My main problem is that I can't get to any websites on the server in a web browser (using Firefox) - the ssh
-ing isn't a problem, as I can do it using ssh USERNAME@IP-ADDRESS
.
I have also seen that ping HOSTNAME
renders the wrong IP-address, so I guess this could be a clue to what's wrong?
Some further info below, if it's useful. I'm new to working with servers and networking, so do say if there is other information needed to say what is wrong.
root@Elizabeth:/# nm-tool | grep "DNS"
DNS: 172.20.10.1
DNS: 172.20.10.1
root@Elizabeth:/# nslookup HOSTNAME
Server: 127.0.1.1
Address: 127.0.1.1#53
Non-authoritative answer:
Name: HOSTNAME
Address: IP-address # correct IP-address for HOSTNAME
root@Elizabeth:/# ip route
default via 172.20.10.1 dev eth1 proto static
172.20.10.0/28 dev eth1 proto kernel scope link src 172.20.10.3 metric 1
172.20.10.0/28 dev wlan0 proto kernel scope link src 172.20.10.5 metric 9
(This question is similar to this one, but that question didn't focus on the browsing problem.)
172.20.10.1
? How namely looks an URL that doesn’t work, and where do you try to access it? – Incnis Mrsi Sep 12 '15 at 11:41172.20.10.1
is. I just thought there could be something wrong with the DNS, so I though the output ofnm-tool
might perhaps help someone solve it. – Ingrid Sep 12 '15 at 11:47ping ws1.bmc.uu.se
. Don't understand the last quesion, sorry, am not so used to this. – Ingrid Sep 12 '15 at 12:05/etc/resolv.conf
contain and contact admins of that servers. Note that if domain record for ws1.bmc.uu.se was changed recently (within 24 hours), then it might be a transient phenomenon. – Incnis Mrsi Sep 12 '15 at 12:08