Blogger Templates Skip to main content

How to Block Websites Using Windows Host File

1. Open Windows Explorer and navigate to C:\Windows\System32\drivers\etc.

2. Double-click hosts, and select Notepad when Windows prompts you to choose a program. If you don't get the prompt, or if the hosts file opens in another program, open Notepad and then navigate to hosts by clicking File, Open within Notepad.

3. Place the cursor at the end of the last line, which will say something such as '127.0.0.1 localhost' or '::1 localhost'. Press Enter to create a new line.

4. Type 127.0.0.1, tap the space bar once, and then type the address of a website you want to block. For example, to block all traffic from YouTube, type 127.0.0.1 www.youtube.com on this line.

5. Continue to add the websites you wish to block, each prefaced with 127.0.0.1 and a space.

6. Click File, Save to commit to your changes. Dismiss any warnings from antimalware software, which may be triggered by your editing of the hosts file.

7. Close any open browser windows, and then reopen a browser to test your edits. The blocked sites should not display in any browser.


Follow : Facebook Page

Comments

Popular posts from this blog

What is CCNA? A Beginner’s Guide to Cisco Certification

If you're aiming to launch a career in networking or IT, obtaining the CCNA (Cisco Certified Network Associate) certification is an excellent way to begin. But what does CCNA entail, and why is it significant? This guide will address your queries and assist you in determining whether CCNA is the right certification for you. What is CCNA? CCNA is an entry-level IT certification provided by Cisco, a leading company in the networking industry. It certifies your understanding of networking fundamentals, security, automation, and IP services. Consider CCNA your gateway into the IT field—whether your goal is to become a network engineer, system administrator, or cybersecurity specialist, this certification paves the way for numerous opportunities. Why Should You Get CCNA Certified? Here are compelling reasons to pursue CCNA certification: High Demand for Network Professionals – Organizations depend on robust networks and require certified experts to manage them. Enhanced Job Opportunitie...

DHCP (Dynamic Host Configuration Protocol) | DNS (Domain Name System)

DHCP (Dynamic Host Configuration Protocol) DHCP is a network protocol that is used to assign various network parameters to a device. This greatly simplifies administration, since there is no need to assign static network parameters for each device separately. DHCP is a client-server protocol. A client is a device that is configured to use DHCP to request network parameters from a DHCP server. DHCP server maintains a pool of available IP addresses and assignes one of them to the host. A DHCP server can also provide some other parameters, such as: • subnet mask • default gateway • domain name • DNS server Cisco routers can be used as a DHCP server. DHCP process explained: DHCP client goes through the four step process:   1: A DHCP client sends a broadcast packet (DHCP Discover) to discover DHCP servers on the LAN segment. 2: The DHCP servers receive the DHCP Discover packet and respond with DHCP Offer packets, offering ...

Change System Font | Create more than 3,000 folders in a minute | Enable Auto Login in Windows 10

Change System Font The default Windows 2000/XP shell font (for Explorer windows) is Tahoma , and the default system font (for System Properties, Device Manager ,etc) is MS Sans Serif . If you’re bored with the defaults, the only way to change them is to alter the Registry. Open Regedit and go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\FontSubstitutes Edit the “ MS Shell Dlg “ String Value [REG_SZ] in the right hand pane and modify its “ Microsoft Sans Serif “ default value to match any other font name installed on your system (i.e. Tahoma) Then close Regedi t and restart your computer for the change to take effect. If u wants to download new fonts you can download It form here .There Are Many More sites available, but this is one of the best i have found . How to create more than 3,000 folders in a minute Open your notepad and type the following code.         @echo off   ...