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

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


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

Regards, Alex