How to block a website

There are several reasons why you might want to block certain websites on your computer. Some websites could be spreading viruses, contain explicit nội dung or even be trying khổng lồ steal your personal data. While you may well be more than capable of avoiding these websites, but that doesn"t stand true for every one who uses your device. In such cases, it might be best to block certain websites.

There are different ways lớn go about blocking websites. You can choose lớn block websites only on specific browsers, the entire operating system, or indeed your network router. Here"s how to lớn block websites.

On your computer

If you want khổng lồ control access lớn websites on just one machine, then you can mix up block at the operating system level. This method for blocking websites is not too hard khổng lồ configure và will work across browsers.

How to Block Any website On Windows Computers

One of the backbones of the mạng internet is the DNS system that translates easy lớn remember (and type) names such as into equivalent IP addresses ( While you use DNS servers to lớn get lớn websites, your computer also has something called a HOSTS file which can have this information stored locally. This can be used khổng lồ disable access lớn unwanted websites. We checked this method with both Windows 7 và Windows 8.

1. Make sure you have administrator access on your computer. Sign in lớn your PC using an administrator account và go khổng lồ C:WindowsSystem32driversetc

2. Double-click the file named "hosts" & select Notepad from the các mục of programs to mở cửa the file. Click OK. The last two lines of your hosts file should read "# localhost" & "# ::1 localhost".

2a. In case you can"t edit the file, you"ll need lớn right-click the file labelled hosts và select Properties. Click the Security tab, select the administrator account & click Edit.

2b. In the pop-up, select the account again and kiểm tra Full control. Click Apply > Yes. Now click OK in all pop-ups.

3. At the kết thúc of the file, you can showroom the addresses of websites to block. To bởi vì this, just add a line at the end of the file, with and then the name of the site you want khổng lồ block - this will redirect the site"s name to lớn your local computer.

4. Lớn block Google, for example, địa chỉ cửa hàng "" lớn the end of the file without the quote marks. You can block as many sites as you want this way, but remember you can only showroom one per line.

5. Repeat this step until you"ve added all websites you want to block.

6. Now close the hosts file và click Save. Reboot your computer for the changes lớn take effect & you"ll find that all those websites are now blocked.


How to lớn Block Any website On Your Mac

Here"s how to block websites on OS X .

1. Make sure you have administrator access lớn your Mac. Now mở cửa Terminal. You can find it under /Applications/Utilities/Terminal. 2. Type sudo nano /etc/hosts & press enter. Enter the user (login) password when prompted. 3. This will xuất hiện the tệp tin /etc/hosts in a text editor. Type the name of the website in a new line in this format "" (minus the quotes). For each trang web you want to block, start a new line & type the same command with only the name of the website being replaced. When done, press ctrl+x & then Y to save changes. 4. Now key in the command sudo dscacheutil -flushcache và press Enter or restart your machine lớn make sure the websites are blocked.

How lớn Block Any trang web On Browser Level

Blocking a website on any browser is the easiest way to get the job done.

On Firefox, you can install an addon called BlockSite lớn block website.

Install the addon, press ctrl+shift+a, and click Extensions on the left. Now click Options under BlockSite. In the pop-up, click showroom and type the name of the website you want blocked. Repeat the process for all websites you don"t want khổng lồ access. Click OK. Now these websites will be blocked on Firefox. You can also set a password in BlockSite to prevent others from editing the list of blocked websites. This can be done via the options menu described in the previous step.

BlockSite is also available on Google Chrome.

Internet Explorer lets you block websites easily. Here"s how.

xuất hiện the browser & go khổng lồ Tools (alt+x) > internet Options. Now click the security tab & then click the red Restricted sites icon. Click the Sites button below the icon. Now in the pop-up, manually type the websites you want khổng lồ block one-by-one. Click showroom after typing the name of each site. When done, click Close & click OK in all other windows. Now these websites will be blocked in internet Explorer.

On your phone or tablet

How lớn Block Any trang web On Your iPhone & iPad

Apple has some handy parental control tools that let you block certain websites. Here"s how.

Go to Settings > General > Restrictions. Tap on Enable Restrictions. Now mix a passcode for restrictions. This should ideally be different from the passcode you use to lớn unlock the phone. After the passcode is set, scroll down & tap Websites. Here you can either choose khổng lồ limit adult content, or allow access lớn specific websites only. In specific websites only, there"s a short list of allowed websites including Discovery Kids và Disney, but you can also add sites by tapping on showroom a Website. If you tap Limit adult content, táo bị cắn dở blocks websites that are deemed objectionable, but you can whitelist websites by tapping on địa chỉ cửa hàng a website under Always Allow, or blacklist them by tapping on it under Never Allow. If you try to access a blocked website, you see a message telling you it is restricted. Tap the Allow Website & key in the Restrictions passcode to open that website.


How khổng lồ Block Any website On Your apk Phone

On Android, there are a couple of different things you can do. If you have a rooted phone,you can block websites by editing the hosts file on your device lớn redirect sites you want to lớn block. You"ll need a tệp tin manager, & a text editor - the easiest option is to use our favourite app ES file Explorer, which lets you vày both things. Here"s how it works.

In this folder, you"ll see the tệp tin named hosts - tap it & in the pop up menu, tap text. In the next pop up, tap ES note Editor. Tap the edit button in the vị trí cao nhất bar. Now, you"re editing the file, và to block sites, you want to redirect their DNS. To do this, just start a new line, & type "" (without the quotes, where blocked website is the name of the site you"re blocking) for each trang web you want khổng lồ block. For example, you"ll have to type to block Google. Reboot your apk device.

If that method is too complex for you, you can install an anti-virus phầm mềm such as Trend Micro that lets you block websites.

Now swipe to Parental Controls and click mix up account. Create an account & you"ll see an option called Blocked list in the app. Tap it, and tap Add. Now showroom the websites you want lớn block one at a time. Once that is done, you won"t be able to access these websites on your android smartphone.

How to Block Any website On Windows Phone

You can"t vì chưng a full block of websites on Windows Phone, buy you can tải về the AVG Family Safety browser. By mặc định it blocks websites with malicious or explicit content, & if you purchase an AVG anti-virus licence and create an account, you can customise the danh sách of blocked websites.

How lớn Block Any website On Your Network

If you have a Wi-Fi network in the house, then it is easier lớn just set up a block on unwanted websites via your Wi-Fi router. Most routers don"t have very user friendly interfaces, so this can be a little daunting, và of course, the steps can vary for each router, but the basic process you follow is pretty similar, so if you"re just a little patient, this is actually pretty easy.

Changing the wrong setting could accidentally de-activate your connection, so if you get stuck, gọi your ISP right away.

We tried this on a Beetel 450TC1 router provided by MTNL in Delhi, and with a Binatone Router provided by Airtel. The steps were exactly the same for both. Khổng lồ start, you need to go lớn your router"s settings. Mở cửa any browser & type in the address bar. Press Enter. Some routers use a different address, so if this doesn"t work, kiểm tra and see if it is mentioned in the documentation from your ISP. Now you will have lớn enter a username & password. This would have been set up during the installation of your connection - defaults are usually username: admin, & password: password. If not, kiểm tra with your ISP & get the correct username and password. As mentioned earlier, the interface can differ. In our MTNL router, we found that we could block websites under Access Management > Filter. Here there"s a drop-down menu called Filter type selection. We selected URL Filter và typed the trang web we wanted to lớn block in the URL field below. Above this field, there is an option called Active. Here we saw two buttons, Yes & No. We selected Yes and hit Save. This blocked the website on our network. You can create 16 lists of blocked websites, each containing 16 websites, using this method, letting you block up to lớn 256 websites. Again, this will vary from router or router.

This guide should have helped you block websites on almost any device. If you know any other methods lớn block sites, let us know via the comments. For more tutorials, visit our How khổng lồ section.

Leave a Reply

Your email address will not be published. Required fields are marked *