ifconfig doesn't show any ip and my websites doesn't work

Posted November 26, 2019 441 views

Good morning,
I am on a LEMP stack droplet and I have many websites on it which suddenly stopped working though yesterday they were fine.
and ifconfig doesn’t show any IP

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hello, @tasneemSaeed

If you run ifconfig and you can’t see any eth0 reference, can you check if there is a file in this location: /etc/netplan and if there is any what is the file content and if it looks fine for you? You can copy the file content, but of course make sure to hide any personal information (like IP address, MAC address and etc.)

Looking forward to hearing from you.