{"id":19461,"date":"2023-11-25T00:00:00","date_gmt":"2023-11-25T00:00:00","guid":{"rendered":"https:\/\/tuttodigitale.net\/t\/come-modificare-il-file-hosts-con-windows-xp-7-8-e-10\/"},"modified":"2023-11-25T00:00:00","modified_gmt":"2023-11-25T00:00:00","slug":"come-modificare-il-file-hosts-con-windows-xp-7-8-e-10","status":"publish","type":"post","link":"https:\/\/tuttodigitale.net\/t\/come-modificare-il-file-hosts-con-windows-xp-7-8-e-10\/","title":{"rendered":"Come modificare il file hosts con Windows XP 7 8 e 10?"},"content":{"rendered":"<ol>\n<li>Right-click on the &quot;Editor&quot; option in the start menu.<\/li>\n<li>Select &quot;Open&quot; from the menu.<\/li>\n<li>In Windows Explorer, open the hosts file located at <code>C:WindowsSystem32driversetchosts<\/code>.<\/li>\n<li>You can now modify the hosts file.<\/li>\n<\/ol>\n<h2>How to open the hosts file<\/h2>\n<p>To open the hosts file, follow these steps:<\/p>\n<ol>\n<li>Open Notepad by clicking on Start \u2192 All Programs \u2192 Accessories \u2192 Notepad.<\/li>\n<li>Click on File \u2192 Open.<\/li>\n<li>Enter <code>C:WindowsSystem32Driversetchosts<\/code> in the file name field.<\/li>\n<li>Click on Open.<\/li>\n<li>Edit the file.<\/li>\n<\/ol>\n<h2>How to open the hosts file with administrator privileges<\/h2>\n<p>To open the hosts file with administrator privileges, you need to run the text editor as an administrator. Follow these steps:<\/p>\n<ol>\n<li>Click on the Start menu.<\/li>\n<li>Type &quot;notepad&quot; in the search box.<\/li>\n<li>Right-click on the Notepad or Notepad++ (or any other text editor) shortcut.<\/li>\n<li>Select &quot;Run as administrator&quot;.<\/li>\n<li>Open the text editor.<\/li>\n<\/ol>\n<h2>Where is the hosts file located?<\/h2>\n<p>The hosts file is located in the Windows system registry, specifically in <code>system32 &gt; drivers &gt; etc &gt; hosts<\/code>. Usually, the Windows system registry is located at <code>C:Windows<\/code>, so it&#8217;s likely that your hosts file is located at <code>C:WindowsSystem32driversetchosts<\/code>. For Linux, the path is <code>\/etc\/hosts<\/code>. For Mac OS X, the path is <code>\/private\/etc\/hosts<\/code>.<\/p>\n<h2>How to modify the hosts file in Windows 10<\/h2>\n<p>To modify the hosts file in Windows 10, open Notepad by right-clicking and selecting &quot;Run as administrator&quot;. Then, open the hosts file located at <code>C:WindowsSystem32Driversetchosts<\/code>. Make the desired changes and save the file.<\/p>\n<h2>Where is the hosts file located in Windows 7?<\/h2>\n<p>For Windows 7 and earlier versions of Windows, to find the hosts file, select Start &gt; Run, type <code>%WinDir%System32DriversEtc<\/code>, and then click OK. Rename the file to &quot;Hosts&quot;.<\/p>\n<h2>How to find the hosts file in Windows 10<\/h2>\n<p>In the case of Windows, you can find the hosts file in the folder <code>%windir%System32driversetc<\/code>. To find it, press Windows+R and enter the mentioned path.<\/p>\n<h2>What can be done with the hosts file?<\/h2>\n<p>The hosts file serves the same function (associating host names with their respective IP addresses), but on the local operating system before contacting the DNS server and only for explicitly defined hosts. <\/p>\n<h2>How to modify the hosts file in Windows 7<\/h2>\n<p>To modify the hosts file in Windows 7, follow these steps:<\/p>\n<ol>\n<li>Open Notepad as an administrator.<\/li>\n<li>Start \u2192 All Programs \u2192 Accessories \u2192 (right-click and run as administrator).<\/li>\n<li>From the file menu, navigate to the folder <code>C:\/Windows\/System32\/drivers<\/code>.<\/li>\n<li>The <code>etc\/<\/code> folder should now be visible.<\/li>\n<\/ol>\n<h2>How to modify the hosts file in Windows 11<\/h2>\n<p>The easiest way to modify the hosts file is to make a copy and replace the original file in the &#8216;etc&#8217; folder. Open File Explorer by pressing the Windows key (WIN) + E. In the file list, right-click on the hosts file while simultaneously dragging the file to the desktop.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Right-click on the &quot;Editor&quot; option in the start menu. Select &quot;Open&quot; from the menu. In Windows Explorer, open the hosts file located at C:WindowsSystem32driversetchosts. You can now modify the hosts file. How to open the hosts file To open the hosts file, follow these steps: Open Notepad by clicking on Start \u2192 All Programs \u2192 &#8230; <a title=\"Come modificare il file hosts con Windows XP 7 8 e 10?\" class=\"read-more\" href=\"https:\/\/tuttodigitale.net\/t\/come-modificare-il-file-hosts-con-windows-xp-7-8-e-10\/\" aria-label=\"Per saperne di pi\u00f9 su Come modificare il file hosts con Windows XP 7 8 e 10?\">Leggi tutto<\/a><\/p>\n","protected":false},"author":1034,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-19461","post","type-post","status-publish","format-standard","hentry","category-c"],"_links":{"self":[{"href":"https:\/\/tuttodigitale.net\/t\/wp-json\/wp\/v2\/posts\/19461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tuttodigitale.net\/t\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tuttodigitale.net\/t\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tuttodigitale.net\/t\/wp-json\/wp\/v2\/users\/1034"}],"replies":[{"embeddable":true,"href":"https:\/\/tuttodigitale.net\/t\/wp-json\/wp\/v2\/comments?post=19461"}],"version-history":[{"count":0,"href":"https:\/\/tuttodigitale.net\/t\/wp-json\/wp\/v2\/posts\/19461\/revisions"}],"wp:attachment":[{"href":"https:\/\/tuttodigitale.net\/t\/wp-json\/wp\/v2\/media?parent=19461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tuttodigitale.net\/t\/wp-json\/wp\/v2\/categories?post=19461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tuttodigitale.net\/t\/wp-json\/wp\/v2\/tags?post=19461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}