Block A Website On Mac

FacebookXFlipboardEmailShare

You can block a website on Mac, editing Hosts file is also a way to block unwanted sites on a Mac.Follow the simple steps below

Open Applications/Utilities/Terminal and type the following (it will ask you to enter admin password because it is a system file):

You will get a Nano box. Type in the website you want to block in the following format:

If you want to add more websites, type in the same format.

Click CTRL+X and Press Y in your keyboard to save modified buffer, and then press Enter to go back to Terminal.

Run the following command in Terminal to take the changes take into effect:

Note

FacebookXFlipboardEmailShare
Exit mobile version