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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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