{"id":352,"date":"2008-01-02T21:18:25","date_gmt":"2008-01-02T11:18:25","guid":{"rendered":"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/"},"modified":"2008-12-25T11:02:13","modified_gmt":"2008-12-25T01:02:13","slug":"the-easiest-method-to-blocking-websites","status":"publish","type":"post","link":"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/","title":{"rendered":"The easiest method to blocking websites"},"content":{"rendered":"<p>There are many ways to block a website - there are thousands of website filter software available these days, but the easiest way to block an unwanted website without installing any software is by editing hosts file. Yes, that's right.  I only found that out after reading <a href=\"http:\/\/www.techieportal.com\/block-unwanted-websites-by-just-editing-host-file\/\">Block Unwanted Websites - by just editing host file<\/a> blog post on Techie Portal website.  I knew about hosts file and I knew how it worked before I discovered the post but it has never come across my mind to use it as a way to block unwanted websites on your computer.  Ah the little things that you overlook. <\/p>\n<blockquote>\n<p>Open HOSTS file which is located at C:\/windows\/system32\/drivers\/etc using notepad.<\/p>\n<p><img src='https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2008\/12\/hostfile.jpg' alt='[Screenshot of HOSTS file]' \/><\/p>\n<p>Lets say you want to block www.hityou.com<\/p>\n<p>Just add 127.0.0.1 www.hityou.com as shown in the image above. You may also add the site without the www. for added safety.<\/p>\n<p>Thats it !!! Now when you try to open the website, your browser will be unalbe to connect to this website because the DNS for the website has been changed to 127.0.0.1 instead of the real DNS.<\/p>\n<\/blockquote>\n<p>To find out more about how to block unwanted sites by editing hosts file, check out <a href=\"http:\/\/www.techieportal.com\/block-unwanted-websites-by-just-editing-host-file\/\">the original post<\/a>. <\/p>\n<p>[tags]blocking, hosts, websites, access[\/tags]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are many ways to block a website &#8211; there are thousands of website filter<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-352","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>The easiest method to blocking websites | Tech Leadership Advice &amp; Resources<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The easiest method to blocking websites | Tech Leadership Advice &amp; Resources\" \/>\n<meta property=\"og:description\" content=\"There are many ways to block a website - there are thousands of website filter\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/\" \/>\n<meta property=\"og:site_name\" content=\"Tech Leadership Advice &amp; Resources\" \/>\n<meta property=\"article:published_time\" content=\"2008-01-02T11:18:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2008-12-25T01:02:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2008\/12\/hostfile.jpg\" \/>\n<meta name=\"author\" content=\"Isabel Nyo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Isabel Nyo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/2008\\\/01\\\/02\\\/the-easiest-method-to-blocking-websites\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/2008\\\/01\\\/02\\\/the-easiest-method-to-blocking-websites\\\/\"},\"author\":{\"name\":\"Isabel Nyo\",\"@id\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/#\\\/schema\\\/person\\\/33457dd19f1ad9bbd4b0cb50c54dfcab\"},\"headline\":\"The easiest method to blocking websites\",\"datePublished\":\"2008-01-02T11:18:25+00:00\",\"dateModified\":\"2008-12-25T01:02:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/2008\\\/01\\\/02\\\/the-easiest-method-to-blocking-websites\\\/\"},\"wordCount\":219,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/#\\\/schema\\\/person\\\/33457dd19f1ad9bbd4b0cb50c54dfcab\"},\"image\":{\"@id\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/2008\\\/01\\\/02\\\/the-easiest-method-to-blocking-websites\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/wp-content\\\/uploads\\\/2008\\\/12\\\/hostfile.jpg\",\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/2008\\\/01\\\/02\\\/the-easiest-method-to-blocking-websites\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/2008\\\/01\\\/02\\\/the-easiest-method-to-blocking-websites\\\/\",\"url\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/2008\\\/01\\\/02\\\/the-easiest-method-to-blocking-websites\\\/\",\"name\":\"The easiest method to blocking websites | Tech Leadership Advice &amp; Resources\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/2008\\\/01\\\/02\\\/the-easiest-method-to-blocking-websites\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/2008\\\/01\\\/02\\\/the-easiest-method-to-blocking-websites\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/wp-content\\\/uploads\\\/2008\\\/12\\\/hostfile.jpg\",\"datePublished\":\"2008-01-02T11:18:25+00:00\",\"dateModified\":\"2008-12-25T01:02:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/2008\\\/01\\\/02\\\/the-easiest-method-to-blocking-websites\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/2008\\\/01\\\/02\\\/the-easiest-method-to-blocking-websites\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/2008\\\/01\\\/02\\\/the-easiest-method-to-blocking-websites\\\/#primaryimage\",\"url\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/wp-content\\\/uploads\\\/2008\\\/12\\\/hostfile.jpg\",\"contentUrl\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/wp-content\\\/uploads\\\/2008\\\/12\\\/hostfile.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/2008\\\/01\\\/02\\\/the-easiest-method-to-blocking-websites\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The easiest method to blocking websites\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/#website\",\"url\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/\",\"name\":\"Career Resources for Professionals in Tech\",\"description\":\"Books, worksheets, templates, frameworks and other useful resources for Chief Technology Officers (CTOs), VPs of Engineering &amp; Technology Directors\",\"publisher\":{\"@id\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/#\\\/schema\\\/person\\\/33457dd19f1ad9bbd4b0cb50c54dfcab\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/eisabainyo.net\\\/weblog\\\/#\\\/schema\\\/person\\\/33457dd19f1ad9bbd4b0cb50c54dfcab\",\"name\":\"Isabel Nyo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3d4b1a4e0f425adb39b242b0d62c5fac07c82f8314a24631f1d16f47bdf006d8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3d4b1a4e0f425adb39b242b0d62c5fac07c82f8314a24631f1d16f47bdf006d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3d4b1a4e0f425adb39b242b0d62c5fac07c82f8314a24631f1d16f47bdf006d8?s=96&d=mm&r=g\",\"caption\":\"Isabel Nyo\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3d4b1a4e0f425adb39b242b0d62c5fac07c82f8314a24631f1d16f47bdf006d8?s=96&d=mm&r=g\"},\"description\":\"My interests: Web Development, Web Design, Web Applications, Web 2.0, AJAX, Search Engine Optimisation, Latest Technologies and more..\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The easiest method to blocking websites | Tech Leadership Advice &amp; Resources","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/","og_locale":"en_US","og_type":"article","og_title":"The easiest method to blocking websites | Tech Leadership Advice &amp; Resources","og_description":"There are many ways to block a website - there are thousands of website filter","og_url":"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/","og_site_name":"Tech Leadership Advice &amp; Resources","article_published_time":"2008-01-02T11:18:25+00:00","article_modified_time":"2008-12-25T01:02:13+00:00","og_image":[{"url":"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2008\/12\/hostfile.jpg","type":"","width":"","height":""}],"author":"Isabel Nyo","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Isabel Nyo","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/#article","isPartOf":{"@id":"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/"},"author":{"name":"Isabel Nyo","@id":"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab"},"headline":"The easiest method to blocking websites","datePublished":"2008-01-02T11:18:25+00:00","dateModified":"2008-12-25T01:02:13+00:00","mainEntityOfPage":{"@id":"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/"},"wordCount":219,"commentCount":6,"publisher":{"@id":"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab"},"image":{"@id":"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/#primaryimage"},"thumbnailUrl":"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2008\/12\/hostfile.jpg","articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/","url":"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/","name":"The easiest method to blocking websites | Tech Leadership Advice &amp; Resources","isPartOf":{"@id":"https:\/\/eisabainyo.net\/weblog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/#primaryimage"},"image":{"@id":"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/#primaryimage"},"thumbnailUrl":"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2008\/12\/hostfile.jpg","datePublished":"2008-01-02T11:18:25+00:00","dateModified":"2008-12-25T01:02:13+00:00","breadcrumb":{"@id":"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/#primaryimage","url":"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2008\/12\/hostfile.jpg","contentUrl":"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2008\/12\/hostfile.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/eisabainyo.net\/weblog\/2008\/01\/02\/the-easiest-method-to-blocking-websites\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eisabainyo.net\/weblog\/"},{"@type":"ListItem","position":2,"name":"The easiest method to blocking websites"}]},{"@type":"WebSite","@id":"https:\/\/eisabainyo.net\/weblog\/#website","url":"https:\/\/eisabainyo.net\/weblog\/","name":"Career Resources for Professionals in Tech","description":"Books, worksheets, templates, frameworks and other useful resources for Chief Technology Officers (CTOs), VPs of Engineering &amp; Technology Directors","publisher":{"@id":"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eisabainyo.net\/weblog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab","name":"Isabel Nyo","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3d4b1a4e0f425adb39b242b0d62c5fac07c82f8314a24631f1d16f47bdf006d8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3d4b1a4e0f425adb39b242b0d62c5fac07c82f8314a24631f1d16f47bdf006d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3d4b1a4e0f425adb39b242b0d62c5fac07c82f8314a24631f1d16f47bdf006d8?s=96&d=mm&r=g","caption":"Isabel Nyo"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/3d4b1a4e0f425adb39b242b0d62c5fac07c82f8314a24631f1d16f47bdf006d8?s=96&d=mm&r=g"},"description":"My interests: Web Development, Web Design, Web Applications, Web 2.0, AJAX, Search Engine Optimisation, Latest Technologies and more.."}]}},"_links":{"self":[{"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/posts\/352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/comments?post=352"}],"version-history":[{"count":0,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/posts\/352\/revisions"}],"wp:attachment":[{"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/media?parent=352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/categories?post=352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/tags?post=352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}