Recently, some websites have encountered issues, especially the social network Facebook. Additionally, some TV streaming software may also experience server errors, resulting in inaccessible content.
How to Change Hosts File on Windows
To address this issue, Mytour will introduce you to the method of modifying the host file - one of the effective host file tricks to access Facebook and many other websites more easily. We will also discuss common errors encountered during host file editing for better understanding.
1. Guide to editing the host file.
2. Saving the hosts file.
3. Accessing Facebook via hosts file.
1. Guide to editing the host file
Step 1:
To access the host file, follow these steps:
Method 1: Navigate to your Windows installation drive (usually C:\). Then locate the etc folder containing the host file: “C:\Windows\System32\drivers\etc”.
Method 2: Navigate to the Start menu (bottom right corner of the screen), type in 'Search programs and find' the following path: 'C:WindowsSystem32driversetc'.
Step 2:
- Note: Prior to making any edits, it's advisable to backup the host file to a separate folder to prevent any potential errors.
Locate the 'etc' directory containing the host file. Open the host file with Notepad (as shown below).
Then, add the necessary parameters at the end of the file to modify the host file.
Here, we aim to edit the host file to access Facebook when it's blocked.
Add the following lines to the end of the file:
173.252.100.26 facebook.com
173.252.100.26 www.facebook.com
173.252.100.26 www.login.facebook.com
After editing, the host file will look like this:
Then, Save it.
- Some common errors when editing the host file
- - Unable to save the file after editing due to non-Admin account.
- Some antivirus software may prevent host file modifications.
So, when encountering such errors while editing the host file, is there a workaround?
Quick Fix: - Open the host file using an Administrator account.
- Disable antivirus software to facilitate easier editing.
2. You open the host file but cannot save it afterward
Save this hosts file to your desktop or any other folder, then copy it back to C:WindowsSystem32driversetc. If prompted with a window asking 'You will need to provide Administrator permission...', select Continue to proceed with the copy process.
3. Latest Host File for Facebook
Note: Some of you may encounter difficulties in changing the host file due to restricted permissions. Refer to how to change the host file here: Error: Unable to edit host file
173.252.110.27 facebook.com 69.171.247.29 www.facebook.com 173.252.100.27 login.facebook.com 66.220.152.19 upload.facebook.com 66.220.152.19 graph.facebook.com 173.252.100.27 pixel.facebook.com 173.252.112.23 apps.facebook.com |
or
173.252.120.68 facebook.com 173.252.120.68 www.facebook.com 173.252.120.68 www.login.facebook.com 173.252.120.68 login.facebook.com 173.252.120.68 register.facebook.com 173.252.120.68 upload.facebook.com 173.252.120.68 register.facebook.com 173.252.120.68 bigzipfiles.facebook.com 173.252.120.68 pixel.facebook.com 173.252.120.68 logins.facebook.com 173.252.120.68 bigzipfiles.facebook.com 173.252.120.68 vi-vn.connect.facebook.com 173.252.120.68 graph.facebook.com 173.252.120.68 vi-vn.facebook.com 173.252.120.68 static.ak.connect.facebook.com 173.252.120.68 apps.facebook.com 173.252.120.68 developers.facebook.com 173.252.120.68 error.facebook.com 173.252.120.68 graph.facebook.com 173.252.120.68 developers.facebook.com 173.252.120.68 channel.facebook.com 173.252.120.68 connect.facebook.com 173.252.120.68 channel.facebook.com 173.252.120.68 register.facebook.com 173.252.120.68 bigzipfiles.facebook.com 173.252.120.68 pixel.facebook.com 173.252.120.68 error.facebook.com 173.252.120.68 register.facebook.com 173.252.120.68 blog.facebook.com |
The article on changing and editing the host file has been completed. Mytour hopes you can access blocked websites through one of the most prominent methods of editing the host file today. In case you accidentally delete the host file, you can create a new host file using the method introduced by Mytour in the technical article.
Mytour also provides guidance on how to edit hosts file specifically for Windows 11 users, allowing those using Win 11 to apply it easily.
- Read more: How to edit hosts file on Windows 11