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.)