HOME | Blog | YouTube | LinkedIn | About Me         || Calculators    | SoftEng/Tech Posts    | Code/Scripts

Monday, March 23, 2015

Simple tips for your Windows hosts file

Here are two simple tips for your Windows hosts file that you typically need to edit when you are doing some testing and you want to point your website to a specific server or a VIP.


(1)
Put the following line at the top of your  C:\Windows\System32\drivers\etc\hosts file:
#Do Not Replace

This will keep your file untouched in case your helpdesk team runs some machine updates and tries to update your host file and you end up losing all the information.


(2)
In your choice of editor, view the hosts file as a Python file. This will apply proper color scheme so that the active entries stand out with all other comments or commented out entries.



- almirsCorner.com -

#hosts #hostsfile #hostfile #tech #programming #programmer #code #coding #softwareengineering #softwaredevelopment 

No comments:

Post a Comment