How can you block a website on a Mac?

How do i block a website on a mac?

  • Answer:

    Opening the Hosts fileGo to the Applications folder on your Mac and open the Utilities folder. Double-click on "Terminal" to open it. Paste the following into the window without the quotes and press "Enter," typing your username and password if prompted: "sudo nano /private/etc/hosts"Editing the Hosts fileScroll down using the arrow keys until you get to the bottom of the list. Type 127.0.0.1 and then the URL of the website you want to block. For instance, "127.0.0.1 google.com" (without quotes) would block Google.Saving the Hosts fileWhen you are finished, press "Control"+"O," and then "Return" to save the file. You can now quit Terminal.Source:http://decoding.wordpress.com/2009/04/06/how-to-edit-the-hosts-file-in-mac-os-x-leopard/

Answerbag Staff at Answerbag.com Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.