Linux Web Server Cannot ping localhost or anything on the internet

My ubuntu 12.04 server was working fine a few days ago. I didn't change any server configurations, but today all of a sudden I can't ping anything. What could be the potential issue here? I can't even ping 127.0.0.1

Below are my ifconfig stats:

What else would one look for in this scenario?

enter image description here

1

1 Answer

Look's like DNS problem. In your screen show there is output from ping command trying to ping google.com and it says: unknown host as it cannot resolve the domain name google.com to ip in order to ping it. Can you please check the contents of the following file: /etc/resolv.conf. Just type in the console: cat /etc/resolv.conf It should output something like: nameserver X.X.X.X

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like