This content originally appeared on DEV Community and was authored by Very Lazy Tech
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
This content originally appeared on DEV Community and was authored by Very Lazy Tech