In this feature we will inform you How to block a website on PC (Windows and macOS) and also on mobile (Android and iOS).
If you think the website is inappropriate, waste of valuable time, or annoying to your child. So you can block websites on all platforms like Android, iOS and Windows. You can block a website through third-party applications or by using your phone or computer system.
However, the good news is that there are plenty of ways to block access to certain websites that are time-consuming or self-explanatory, whether you want to restrict access completely or only to certain times of the day.
You may also like: How to block a number on your iPhone
What you will learn in this guide:
How to block a website on Windows PC
One of the easiest ways to block a website is to edit the Windows hosts file on your computer. By editing the hosts file, you can easily block all websites and it works on different browsers including, Google Chrome and Internet Explorer.
The hosts file, which is a plain text file that your operating system uses to assign IP addresses and hostnames, can be used to redirect the domain name to the local computer, essentially blocking the requested website.
However, it is a great way to restrict and prevent users from seeing content you don’t want them to see.
level 1. Click on “windows” button and type Notepad.
The second step. right click on Notepad, Click on “Execute as administrator and click yes When asked to do so. Notepad window will open.
Step 3. Click on issue. This button is in the upper left corner of the window, then click to open.
Step 4. Choose “local disk C driver and double-click windows file on the left side.
Fifth step. to find”System 32″ Double click on it.
Step 6. to find”drivers” and open.
Step 7. open the “etc” issue.
Step 8. tap on “Text Documents (*.txt)Box. This button is located in the lower right corner of the window. A drop-down menu will appear and Click All Files.
Step 9. Double click “Hosts » Open
step 10. copy the code”127.0.0.1″ Create a new line at the bottom of the document.
Step 11. paste the code”127.0.0.1″ Then press the spacebar and add a website to block your computer’s browsers, when done, click issue and choose To maintain.
example 1: 127.0.0.1 www.facebook.com
Example 2: 127.0.0.1 www.youtube.com
Read also: How to block a phone number on your Android phone
How to block websites on Chrome Android
If you often use the web through Google Chrome on your Android device, you may need to block certain websites to ensure increased productivity at all times of the day.
level 1. Download “Blocksite” Play Store app.
The second step. Open the Blocksite app on your mobile device and click on “Go to settingsOn demand. The app will take you to your phone’s app settings. You’ll need to enable the app to control your browser and block websites you don’t want to see.
Step 3. with the BlockSite The active app, go back to the app and tap green “+” icon. This will open a page where you can block a website or mobile app by entering their name in the search bar.
Step 4. Enter the full URL of the website you wish to block and you will see a green tick. Click on it and you will have successfully blocked this website.
How to block a website on a Mac
Blocking websites with macOS works the same way as blocking websites with Windows. The process is relatively quick and simply requires editing the Mac hosts file to redirect the specified domain name. It’s a simple process that will surely prevent users from seeing content that you might consider to be worth blocking across all browsers.
Meanwhile, if you want to remove the blocked websites, the process is as simple as blocking the website.
level 1. Make sure you have administrator access to your Mac. to open “hall.”
The second step. Writes “sudo nano /etc/hosts” and press enter. Enter the user password (login) when prompted.
Step 3. This will open the /etc/hosts file in a text editor. Type the website name on a new line in this format “127. 0.0.1www.facebook.com.
If you want to add more websites, keep adding the other websites you want to block in this way, each starting with “127. 0. 0. 1.” followed by a space and the appropriate website.
Step 4. When done, press and hold “controlkey “and press”Xand pressyesto save the file.
How to block a website on iPhone and iPad
Fortunately, Apple is mostly known for its robust security and has handy and easy-to-use parental controls that allow you to block inappropriate websites.
level 1. going to “Settings“.
The second step. Scroll down and selectgeneral“.
Step 3. Choose “restrictions“.
Step 4. tap on “Enable RestrictionsNow set a password for restrictions.
Fifth step. Once the password is set, scroll down and tap on “sitesWithin the permitted content.
Step 6. If you want to block a specific website, select “Specific sites only“.
Step 7. On select websites only, there is a restricted list of allowed websites including Discovery Kids and Disney, but you can also add sites by clicking to add website.
conclusion: This guide is supposed to help you block websites on almost any device. However, if you know of any other way to block a website, you can mention it in a comment below, we would be grateful.
If you find this content useful. Please share it on your FBAnd the TwitterAnd the LinkedIn. Also leave your comments below if you have any ideas to add or questions.