Maybe this is always a question of how to edit the HOST file on windows. There are several articles or posts that I have made and in the activation step often provide a line or host code to add to the windows hosts file. Discover a wide range of easy-to-follow tutorials on Ainkware.com. Learn how to fix common PC issues, optimize software, and master essential tech skills.
 
how to edit host file in windows

What's the point? Yups, to firewall or manipulate access from the destination website to our computer's localhost, so that the website address that was previously buried in the software cannot go to the actual server because it was manipulated.

Actually the Host function is not that, it's just an overview of the function, and this hosts file is very useful for those of us who might want to restrict sites or websites so that they cannot be accessed.
 
The HOSTS file in Windows is a plain text file that maps hostnames to IP addresses. It’s commonly used to block websites, redirect domains, or test local servers. Editing the HOSTS file can be useful for developers, IT administrators, and even regular users. This guide will show you how to safely edit the HOSTS file in Windows.
 
The Host file is located in windows in the directory: C:\Windows\System32\drivers\etc
 

Important Notes Before Editing

  • You need administrator privileges to edit the file.
  • Always create a backup of the HOSTS file before making changes.
  • Use a plain text editor like Notepad or Notepad++
 
Here I will explain how to edit the HOST file on Windows so that it runs properly?  
 

Steps to edit HOST file in Windows

- I take the example Please edit the “Host” file and add the following line
 
the line below is just an example
127.0.0.1 license.bluesoleil.com
127.0.0.1 license2.bluesoleil.com
127.0.0.1 license3.bluesoleil.com
127.0.0.1 www.bluesoleil.com
127.0.0.1 bluesoleil.com

127.0.0.1 cfs.u-ad.Info
127.0.0.1 cfs1.uzone.id
127.0.0.1 cfs2.uadexchange.com
 
- Okay, now what you need is Notepad++
 
 
Why do I recommend using Notepad++, not using the usual Windows default notepad, ? Anyway, I know we don't want to be complicated and don't want to bother, I told you to install Notepad++ just one install and use it again tomorrow and edit the HOST file so it's easy, not complicated, and hassle as imagined.

- After Notepad++ is downloaded, please install
- well if you have, please now open the HOST file directory : C:\Windows\System32\drivers\etc
- then right-click “HOST”, select Edit With Notepad++  
- Then add lines as instructed (My example above)

Note: If you cannot edit the Host file, it means it is still Read Only, please right-click the HOST, select properties, then remove the “Read Only” checklist, then edit it again as below 
 
Edit HOST file in Windows

- if you have Please “Save”
- and enjoy, it's easy, just like that,
- excellent greetings 
 

Troubleshooting

  • Access Denied? Make sure you opened Notepad as Administrator.
  • Changes Not Taking Effect? Flush the DNS or restart your browser.
  • Antivirus Interference? Some antivirus software may block HOSTS file edits—check your security settings. 
 

Conclusion

Editing the HOSTS file in Windows is a powerful way to control domain name resolution on your system. Whether you're redirecting a domain, blocking a website, or testing development environments, it’s a simple but effective tool just be cautious with what you change. 
 

Post a Comment

Previous Post Next Post