Monday, September 10, 2012

Websites not opening on Ubuntu

Symptoms:
Websites won't load but services like skype seems to work.

It has happened to me twice -
I had shutdown the system without properly closing juniper connection and this started happening.

Solution:

1. Take a backup of /etc/resolv.conf
2. Now clear all the contents of /etc/resolv.conf
3. Restart your networking services (I disabled the network and enabled it).

Things should work...

1 comment:

Vibhor Mahajan said...

Try the following if the above solution doesn't work

http://hardc0l2e.wordpress.com/2012/05/09/ubuntu-12-04-etcresolv-conf-127-0-0-1-implementation-with-dnsmasq/