With how to edit the hosts file, change the hosts file on your computer so that you can access, to the blocked facebook most effectively. However, how to edit and change the hosts file is not known to everyone, so to avoid possible confusion, you should follow the instructions for editing File hosts on windows here and follow.
Recently, there are some websites that have some problems with errors so they cannot be accessed and the most common is usually the social network Facebook. Not only that, some software that supports watching TV is also inaccessible due to server errors.
How to Change File Hosts on Windows
To overcome this situation, the Software will introduce to you how to change and edit the hosts file – one of the hosts file tricks, how to access Facebook effectively today, helping users to access servers, Facebook and many other websites more easily. Besides, we will also briefly talk about common errors when editing this host file for you to easily imagine.
Article Table of Contents:
1. Instructions on how to edit the hosts file.
2. How to save the hosts file.
3. File hosts to facebook.
1. Instructions on how to edit the hosts file
To open the hosts file do the following:
Method 1: You go to the Windows installation drive (usually the C: drive). Then follow the path to the etc folder containing the hosts file: “C:WindowsSystem32driversetc“.
Method 2: Go to the Start menu (in the lower-right corner of the screen), type Search progarms and find the path after “C:WindowsSystem32driversetc“.
–Note: Before making the edit, you go to store the hosts file in another directory in case there is an error that needs to be backed up
In the etc directory contains the hosts file. You click to open the hosts file with notepad (as shown below)
Then add the necessary parameters to the end of the file to change the hosts file.
Here we want to edit the hosts file to access facebook when blocked.
Add the following paragraph to the end of the file
The hosts file after editing looks like
Then Save again.
- Some errors when editing the hosts file
- – The file cannot be saved after editing because the account is not an Admin.
Some antivirus software prevents editing the hosts file.
So when you encounter some errors when editing such a host file, is there a way to fix it?
Troubleshooting tip – Open the hosts file with the Administrator account.
– Turn off antivirus software to make editing easier.
2. You open the hosts file but then save it
You save this hosts file to the desktop or any folder, then copy back to C:WindowsSystem32driversetc, you need to confirm the override and if there is a window asking “You will need provide Adminstrator permission…” select Continues to continue the copying process.
3. Hosts file to the latest facebook
Note: Some of you change the hosts file but cannot change it due to permission restrictions, please refer to how to change the hosts file here: The error cannot fix the hosts file
The article on how to change and edit the hosts file has been completed, Software hopes you can access blocked websites thanks to one of the most prominent ways to edit the hosts file today. In case you accidentally delete the hosts file, you can create a new hosts file in the way that Software has introduced in the tutorial.
Software also guides How to edit the hosts file on Windows 11 separately to help you who are using win 11 can apply easily.