How to Edit Windows Host File?

If you are the webmaster of a website and you often modify your script and update directly from the server, you will need to always check if you are resolved to the correct testing box(servers).

By modify the Windows Host file, you will be able to correctly view the actual result instead of the cache from your PC to the old host (if you have more than 2 hosting servers).

To change your Windows Host File, you may simply use the notepad available from the Windows Operating System, run it as administrator mode if you are running Windows Vista or Windows 7.

Then open the file located at C:\Windows\System32\drivers\etc\hosts. Modify according to your need like example below.

Published by

Mick Genie

Mick Genie is the founder of and working at ExaBytes Network Sdn Bhd and WPWebHost web host company. He is expertise in Windows and Linux environment especially web hosting related information, tips and trick as well as the IT Information.

2 thoughts on “How to Edit Windows Host File?”

Comments are closed.