DEV Community

Very Lazy Tech
Very Lazy Tech

Posted on

Want to block websites or test local domains without touching your DNS?

Want to block websites or test local domains without touching your DNS?

In this quick Ubuntu tip, I’ll show you how to edit the /etc/hosts file to block sites like Facebook or fake domains for development — all in under 1 minute!

🔗 Stay tuned for more hacking and cybersecurity content! Don't forget to LIKE, SHARE, and SUBSCRIBE for more videos.

// VeryLazyTech Social //
🔗 My Shop: https://www.shop.verylazytech.com
📖 Medium: https://medium.verylazytech.com/
🐙 GitHub: https://github.com/verylazytech
🌐 Website: https://www.verylazytech.com
🐦 X: https://x.com/verylazytech

Top comments (0)