Back Up. Covert Ops. Internet Tools. Linux Distros. MajorGeeks Windows Tweaks. System Tools. Smart Defrag. K-Lite Mega Codec Pack. K-Lite Codec Pack Update. Mozilla Firefox. Driver Booster. Windows Cannot Find Gpedit. Booo 2. Not Geeky 3. Average 4. Good 5. You can enter an IP address that a domain name should be resolved to. In other words, you could order your computer to load a different IP address than the DNS server would, essentially letting you do a few cool things.
One reason to edit the hosts file is if you want a super basic way to block websites from loading on your computer. Enter an invalid or wrong IP address for the site you want to block, and each time you try accessing it, the hosts file will load the IP address you chose. Depending on what you picked, it might c ompletely block the website.
You can use the same technique to make the hosts file block malicious sites. There are even lists of hosts file entries such as this one you can download and import into your hosts file to block hundreds of malicious sites or ads.
Another use for the hosts file is to speed up your web browsing. Tip : Learn how to use alternate DNS servers to get faster internet access. You need to know where to go to find the hosts file before you can open it for editing. This is the hosts file location in Windows 10 through Windows XP:. The hosts file is a text file, meaning that you need a text editor to make changes to it. There are a few examples in the hosts file to show you how to format your entries.
You have to put the IP address first followed by the domain name, and the two have to be separated by at least one space a tab is a good way to format them. As you can see in the image above and read from the directions in the hosts file, the symbol is used as a comment, meaning that anything that follows it is avoided.
0コメント