{"id":1263,"date":"2009-05-31T11:18:06","date_gmt":"2009-05-31T18:18:06","guid":{"rendered":"http:\/\/softbeam.net\/hobby\/?p=1263"},"modified":"2009-05-31T11:18:06","modified_gmt":"2009-05-31T18:18:06","slug":"hosts-file-in-windows","status":"publish","type":"post","link":"http:\/\/softbeam.net\/hobby\/?p=1263","title":{"rendered":"hosts file in windows"},"content":{"rendered":"<p>in xp: \\windows\\system32\\drivers\\etc\\hosts, playing the same role as \/etc\/hosts in linux<\/p>\n<blockquote><p>with it you can block some web site entry: 127.0.0.1   www.***.com<br \/>\nwith it you can setup intranet shortcut: 192.168.1.4  mybaby<br \/>\nwith it you can intranetly visit your www server: 192.168.1.x  www.mysite.net (or 192.168.1.1 router)<br \/>\nor internetly visit your www server: 12.34.56.78 www.mysite.net<\/p><\/blockquote>\n<p>I use it during my domain transfer. By mistake, domain &#8220;www.softbeam.net&#8221; is out of order for 5 days, which would otherwise prevent myself from blogging on my wordpress site.<\/p>\n<p>This kind of IP based mutual recognition also means that you even don&#8217;t need a real domain name. Just have ips of your circle of boxes, or together with your friends, pointing to the computer with any fake domain name like &#8220;microsoft.com&#8221;, then you can have, or with your friends, your own &#8220;microsoft.com&#8221; \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>in xp: \\windows\\system32\\drivers\\etc\\hosts, playing the same role as \/etc\/hosts in linux with it you can block some web site entry: 127.0.0.1 www.***.com with it you can setup intranet shortcut: 192.168.1.4 mybaby with it you can intranetly visit your www server: 192.168.1.x www.mysite.net (or 192.168.1.1 router) or internetly visit your www server: 12.34.56.78 www.mysite.net I use &hellip; <a href=\"http:\/\/softbeam.net\/hobby\/?p=1263\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;hosts file in windows&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1263","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/posts\/1263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1263"}],"version-history":[{"count":0,"href":"http:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/posts\/1263\/revisions"}],"wp:attachment":[{"href":"http:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1263"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}