How do I block a website on my computer? How to block any website on the computer? sorry, it is actually possible to do this in a few steps. I will tell you how to block a website that we sometimes want to ban on our home or work computer. Your children or friends can access websites that are hosted on your home or work computer. If you do not want anyone to be able to access these sites, you can block any website by following the steps below without using any software.
How to Block a Website on a Computer
First we open My Computer> Local disk C> Windows> System32> System32> drivers etc in order and we will see the second screenshot below.
Find the Hosts file
Click on the marked Hosts file twice, the screen that appears will ask for a command Open this command with Notepad .
On the screen that appears, type the URL of the site you want to block at the end of the (127.0.0.1) digits Example: (127.0.0.1 www.siteadı.com) by typing like keyboard Ctrl+S Save we say Save and in this way we block the site we do not want. this method is the most I think it is a good method for parents.
You can block the site you want to block as described above, and you can block as many sites as you want at the same time. If you change your mind later, you can unblock the site by following the steps above.
How to Block Any Website on Your Mac
Here’s how to block websites in OS X.
- Make sure you have administrator access to your Mac. Now open Terminal. You can find it under / Applications / Utilities / Terminal.1. Make sure you have administrator access to your Mac. Now open Terminal. You can find it under / Applications / Utilities / Terminal.
- Type sudo nano / etc / hosts and press enter. Enter the user (login) password when prompted.2. Type sudo nano / etc / hosts and press enter. Enter the user (login) password when prompted.
- This will open the /etc/hosts file in a text editor. Type the name of the website on a new line in the format “127.0.0.1 www.blockedwebsite.com” (excluding the quotes). Start a new line for each website you want to block and type the same command only with the name of the website being changed. When finished, press ctrl+x and then Y to save the changes.3. This will open the /etc/hosts file in a text editor. Type the name of the website on a new line in the format “127.0.0.1 www.blockedwebsite.com” (excluding the quotes). Start a new line for each website you want to block and type the same command only with the name of the website being changed. When finished, press ctrl+x and then Y to save the changes.
- Now enter the command sudo dscacheutil -flushcache and press Enter to make sure the websites are blocked or restart your machine.4. Now enter the command sudo dscacheutil -flushcache and press Enter to make sure the websites are blocked or restart your machine.
How to Block Any Website in Browsers
Blocking a website in any browser is the easiest way to get the job done.
In Firefox, you can install an add-on called BlockSite to block the website .
- Install the plugin, press ctrl+shift+a and click Extensions on the left. Now click Options under BlockSite. Click Add in the pop-up window and type the name of the website you want blocked. Repeat the process for all websites you don’t want to access. Click OK.
- Now these websites will be blocked in Firefox. You can also set a password on 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 easily block websites. Here’s how to do it.
- Open the browser and go to Tools (alt+x)> Internet Options. Now click the security tab and then click the red Restricted sites icon. Click the Sites button below the icon.
- Now in the pop-up window, manually type one by one the websites you want to block. After typing the name of each site, click Add. When done, click Close and in all other windows click OK. Now these websites will be blocked in Internet Explorer.
Website blocking on your phone or tablet.
Block Any Website on Your iPhone and iPad
Apple has some handy parental control tools that let you block certain websites. Here’s how to do it.
- Go to Settings & General & Restrictions.
- Tap Enable Restrictions. Now set a password for the restrictions. This should ideally be different from the password you use to unlock the phone.
- Once the password is set, scroll down and tap Websites. Here you can choose to limit adult content or only allow access to certain websites.
- Only certain websites have a short list of allowed websites, such as Discovery Kids and Disney, but you can also add sites by tapping Add Website.
- If you tap Limit adult content, Apple will block websites deemed objectionable, but you can whitelist websites by tapping Add Website under Always Allow or blacklist them by tapping Never Allow.
- If you try to access a blocked website, you will see a message that it is restricted. Tap Allow Website and enter the Restrictions password to open that website.
In this article I have shared what I know about how to block any website, I hope it was useful. Do not forget to share your valuable ideas on this topic with us).