The simplest way to read and open Host file on Windows XP/7/8/10

The Host file on Windows helps map IP addresses to domain names, allowing you to block websites or customize network connections. However, many people have difficulty opening or editing the Host file due to limited access. Let's find out how to do it in detail below with TipsMake.

The Host file plays an important role in controlling network connections on your computer. You can use the Host file to block websites, redirect domains, or fix access errors. Here are instructions for opening the Host file on Windows XP/7/8/10.

Instructions for opening the hosts file

Step 1: Find the folder containing the host file on the computer system. (For Windows XP and Windows 8,8.1 operating systems, you do the same)

Method 1 : Go to the Windows installation drive (default is drive C:). Then find the etc folder path, this folder contains the host file: "C:WindowsSystem32driversetc"

The simplest way to read and open Host file on Windows XP/7/8/10 Picture 1The simplest way to read and open Host file on Windows XP/7/8/10 Picture 1

Method 2 : Go to the Start menu in the lower right corner of the screen, enter the path C:WindowsSystem32driversetc in the Search program and files box. The etc folder will immediately appear, just click on it.

The simplest way to read and open Host file on Windows XP/7/8/10 Picture 2The simplest way to read and open Host file on Windows XP/7/8/10 Picture 2

Step 2: Right-click on the host file and select Open . The Open with dialog box appears, select the application to open the host file (here select open as notepad) and finally click OK .

The simplest way to read and open Host file on Windows XP/7/8/10 Picture 3The simplest way to read and open Host file on Windows XP/7/8/10 Picture 3

The opened hosts file has the form.

The simplest way to read and open Host file on Windows XP/7/8/10 Picture 4The simplest way to read and open Host file on Windows XP/7/8/10 Picture 4


Host file blocks sending malicious code via Facebook messages

To block sending malicious code via Facebook messages, add the following 2 lines to the hosts file on your computer.

127.0.0.1 ojoku.bigih.bid
127.0.0.1 plugin.ojoku.bigih.bid

Some errors when editing host file

- Cannot save the file after editing because the account is not Admin. See instructions for fixing the error of not being able to save the host file on the computer
- Some anti-virus software prevents editing the host file.

How to fix:

- Open the host file with an Administrator account.
- Turn off the anti-virus software to make editing easier.

With a few simple steps, you can read, open files on Windows to edit or add command lines to block websites, redirect domains or optimize network connections. If you encounter an error that prevents you from saving the file after editing, try temporarily disabling your antivirus software or opening Notepad with Administrator rights for easier manipulation.

3.5 ★ | 2 Vote