User Tools

Site Tools


hstarwiki:cust:gen:hostfile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hstarwiki:cust:gen:hostfile [2017-07-12 T 22:21]
admin
hstarwiki:cust:gen:hostfile [2017-08-07 T 23:09] (current)
admin
Line 38: Line 38:
 Tracing route to mywebsite.com [11.22.33.44]</code> Tracing route to mywebsite.com [11.22.33.44]</code>
  
-=== Comenting out and reverting===+=== Commenting out and reverting===
 When you are done with the host file, you should either delete the line in the host file, or comment it out. Commenting it out leaves the line in to be activated later. To comment out just add a hash mark # before the line. SO the host file would look like: When you are done with the host file, you should either delete the line in the host file, or comment it out. Commenting it out leaves the line in to be activated later. To comment out just add a hash mark # before the line. SO the host file would look like:
 <code>#11.22.33.44 mywebsite.com </code> <code>#11.22.33.44 mywebsite.com </code>
Line 44: Line 44:
 === Multiple lines === === Multiple lines ===
 You can add multiple lines of code and various ones commented out. your host file can look like this: You can add multiple lines of code and various ones commented out. your host file can look like this:
-<code>11.22.33.44 mywebstie.com +<code>11.22.33.44 mywebsite.com 
 #4.3.2.1 google.com #4.3.2.1 google.com
 55.66.77.88 testsitenumber2.com 55.66.77.88 testsitenumber2.com
 </code> </code>
 In this example it would only change the first and third dns entry. The google entry would not affect how your computer reaches google. In this example it would only change the first and third dns entry. The google entry would not affect how your computer reaches google.
 +
 +
hstarwiki/cust/gen/hostfile.1499898061.txt.gz ยท Last modified: 2017-07-12 T 22:21 by admin