How To Block Website On Your Computer

Internet is not always safe, especially when the website content is concern. Internet is for good but it depends on the person who is using that. Computer with internet connection requires special lookout if it is used in schools or universities as some people might use internet connection for using unnecessary websites. To ensure the proper use of internet we can block website on computer by blocking urls so that we can’t access those website.

Block Website On Your Computer

Solution Exist reader, If you want to block a website on the computer then this post is for you. Blocking social websites is common in college and schools. If you are having a computer at home and that is also used by children the this is a good way to make them away from a certain website or block adults site. This blocking website is the best way to block access to the website. To block a website on a computer you don’t need any¬†website blocker software, you can easily block a website without software. If you also want to block certain websites on your computer then follow the steps given below.

Steps To Block Website In Computer

Step 1 – Firstly Click on  Start button and and click Computer or My Computer.

Step 2 – Go to the following location: C:\Windows\System32\drivers\etc

Step 3 – search for a file called Host. Right-click it and open it by using the Notepad.

Step 4 – Now type:  and write the website you want to block and hit Enter.

block website in windows

Step 5 – Type as many websites as you want to block.

Step 6 – When you have finished with the list, click Enter for the last time so to add an extra line.

Step 7 – Save the file and Restart your computer for the change to take effect.

If you are a Mac user then here is the way to block website on pc.

The above method is effective and you won’t be able to open blocked website on any browser. In case you are in search of method to block website on browser level i.e. block website on chrome then follow the below step.

How to block a website on google chrome

There are number of google chrome useful extensions are avaiable on chrome store which helps user to perform various task. In this method, we will use Google chrome extension. So without wasting more time, start following the steps.

Firstly open Google chrome in your system

Now search for BlockSite – Stay Focused on google and open chrome store link. In you are reading this article on the system on which you want to block webstie then click on the below link

Now click on install to install this chrome extension.

As the extension is installed, it will ask for permission, accept it and you will be redirected to the extension options pages.

Here you will get text bar to enter the webiste that you want to block, add the url of the website and press enter.

In this way, you can block website on google chrome. There are other options available as well which you can refer in the below snapshot.

chrome extension to block website

Note – This extension is free to use but there is a limitation in the free version. You can only add 6 websites to the block list. If you want to increase the block list website then you need to pay.

If you are an android mobile and you want to block website on android phone then you can read the below steps.

How to block websites on chrome mobile

Yes it is possible to block website on chrome android but like chrome desktop software, there is no such option to serve the purpose in-built. For this, we need to use website blocker app. So without wasting more time, lets start with the tutorial.

Step 1 – Firstly unlock your android phone and open Google play store

Step 2 – Now search for BlockSite app. if you are reading this on your android phone, you can tap on the below link to download and install app.

Step 3 – Now open the installed app and grant all the requested permission to the app

Step 4 – Now click on “+” sign and open the menu from where you can add websites and apps that you want to block.

how to block websites on android phones

You can even add categories of website that you want to block. This was the tutorial on how to block websites on android phones using website blocker app

How to Block Any Website On Your Mac

Here’s how to block websites on OS X .

  1. Make sure you have administrator access to your Mac. Now open Terminal.
    You can find it under /Applications/Utilities/Terminal.
  2. Type sudo nano /etc/hosts and press enter. Enter the user (login) password when prompted.
  3. This will open the file. Make sure you have administrator access to your Mac. Now open Terminal. You can find it under /Applications/Utilities/Terminal.
  4. Type sudo nano /etc/hosts and press enter. Enter the user (login) password when prompted.
  5. This will open the file /etc/hosts in a text editor. Type the name of the website in a new line in this format “” (without quotes).
    Here you need to enter all the website that your want to block in your computer and with the same format and in new line. When done, press ctrl+x and then Y to save changes.
  6. Now key in the command sudo dscacheutil -flushcache and press Enter or restart your machine to make check the websites are blocked.

FAQ (Block website on chrome permanently)

How to block a website on chrome without extension

There are multiple methods to block a website on computer other than using chrome extension. You can use host file method on windows to block multiple website on computer.

How do you block a website on google chrome

if you are a windows user then you can choose form two methods to block website on chrome i.e. using host file or using chrome extension.

Wrapping Up

This is the best way to block website in computer without software. If you need to unblock the website you need to remove website URL from that file. This is the best way to block Facebook in computer and other social networking website. Hope you liked our tutorial on block access to website in PC. If you faced any issue then feel free to comment below, Solution Exist will help you.

solutionexist telegram

Ronak Prajapati the Founder of Solution Exist is a Chemical Engineer by profession and a Self-trained AndroGeek who is a Part-Time blogger. He is a passionate tech blogger who likes to share his knowledge and helpd to troubleshoot problems of computers and PC.

Leave a Comment