This shows you the differences between two versions of the page.
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]</ | Tracing route to mywebsite.com [11.22.33.44]</ | ||
- | === Comenting | + | === Commenting |
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: | ||
< | < | ||
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: | ||
- | < | + | < |
#4.3.2.1 google.com | #4.3.2.1 google.com | ||
55.66.77.88 testsitenumber2.com | 55.66.77.88 testsitenumber2.com | ||
</ | </ | ||
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. | ||
+ | |||
+ |