We need to block some web sites with http and https? The solution is easy:
1. Edit the /etc/hosts
sudo gedit /etc/hosts
2. Configuration
add these lines:
#Block Facebook 127.0.0.1 www.facebook.com
3.Save and exit, the reboot your system with this command:
sudo reboot