{"id":3058,"date":"2023-07-02T05:55:31","date_gmt":"2023-07-02T05:55:31","guid":{"rendered":"https:\/\/www.tunesbro.com\/blog\/?p=3058"},"modified":"2023-07-02T05:55:31","modified_gmt":"2023-07-02T05:55:31","slug":"how-to-save-host-file-on-mac","status":"publish","type":"post","link":"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/","title":{"rendered":"How to Save Host File on Mac?"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_45_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"ez-toc-toggle-icon-1\"><label for=\"item-69fa364091aca\" aria-label=\"Table of Content\"><span style=\"display: flex;align-items: center;width: 35px;height: 30px;justify-content: center;direction:ltr;\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/label><input  type=\"checkbox\" id=\"item-69fa364091aca\"><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/#Video_Tutorial_How_do_I_edit_and_save_hosts_file_on_Mac\" title=\"Video Tutorial:How do I edit and save hosts file on Mac?\">Video Tutorial:How do I edit and save hosts file on Mac?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/#Is_there_a_hosts_file_on_Mac\" title=\"Is there a hosts file on Mac?\">Is there a hosts file on Mac?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/#How_do_I_save_a_host_file\" title=\"How do I save a host file?\">How do I save a host file?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/#How_do_I_add_a_host_address_to_my_Mac\" title=\"How do I add a host address to my Mac?\">How do I add a host address to my Mac?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/#How_do_I_manually_edit_hosts_file\" title=\"How do I manually edit hosts file?\">How do I manually edit hosts file?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/#How_do_I_save_a_modified_host_file\" title=\"How do I save a modified host file?\">How do I save a modified host file?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/#How_do_I_open_hosts_file_on_Mac\" title=\"How do I open hosts file on Mac?\">How do I open hosts file on Mac?<\/a><\/li><\/ul><\/nav><\/div>\n<p>The steps to save the host file on a Mac are as follows:<\/p>\n<p>1. Open the Terminal application on your Mac by searching for it in Spotlight or through the Applications folder in Finder.<\/p>\n<p>2. Type the following command in the terminal: sudo nano \/private\/etc\/hosts. This is the command to open the host file using the nano editor with superuser privileges.<\/p>\n<p>3. Enter your admin password when prompted to do so, and then hit the Enter key.<\/p>\n<p>4. The host file should now be opened in the nano editor. Here, you can make any necessary changes to the file.<\/p>\n<p>5. Once you&#8217;re done editing the file, press Control + O to save the changes you&#8217;ve made.<\/p>\n<p>6. Next, press Control + X to exit the editor.<\/p>\n<p>7. Finally, you can verify the changes you&#8217;ve made to the host file by pinging the relevant domain names in Terminal or by checking a website that you&#8217;ve made changes to.<\/p>\n<p>It&#8217;s important to note that editing the host file should be done with caution because incorrect changes can cause issues with your Mac&#8217;s internet connectivity. So, before making any changes to the host file, make sure you have a backup or know what you&#8217;re doing.<\/p>\n<lite-youtube videoid=\"NxorxEaB1Uk\" playlabel=\"Play: Keynote (Google I\/O '18)\"><\/lite-youtube>\n<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Video_Tutorial_How_do_I_edit_and_save_hosts_file_on_Mac\"><\/span>Video Tutorial:How do I edit and save hosts file on Mac?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<lite-youtube videoid=\"bSjVIhJIDUo\" playlabel=\"Play: Keynote (Google I\/O '18)\"><\/lite-youtube>\n<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Is_there_a_hosts_file_on_Mac\"><\/span>Is there a hosts file on Mac?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Yes, there is a hosts file on a Mac. The hosts file is a plain text file that maps hostnames to IP addresses. This file exists on all operating systems, including Mac OS. Here are the steps to access the hosts file on a Mac:<\/p>\n<p>1. Open Finder and go to Applications.<br \/>\n2. Open the Utilities folder.<br \/>\n3. Open Terminal.<br \/>\n4. In the Terminal window, type \"<strong>sudo nano \/private\/etc\/hosts<\/strong>\" and press Enter.<br \/>\n5. Enter your administrator password when prompted.<br \/>\n6. The hosts file will open in the Nano text editor. Use the arrow keys to navigate the file.<br \/>\n7. Make changes to the file as needed.<br \/>\n8. Save the changes by pressing Control+O, then press Enter. Exit Nano by pressing Control+X.<\/p>\n<p>It is important to note that modifying the hosts file can have consequences, and changes made to the file can affect your computer&#8217;s networking capabilities. Therefore, modifications should only be made if you have knowledge of how the file works and the potential consequences of any changes made.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_do_I_save_a_host_file\"><\/span>How do I save a host file?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To save a host file, you can follow these steps:<\/p>\n<p>1. Open a text editor on your computer. This could be Notepad on Windows or TextEdit on macOS.<\/p>\n<p>2. Access the host file location. The host file is typically located in the following directories:<\/p>\n<p> On Windows: C:\\Windows\\System32\\drivers\\etc\\<br \/>\n On macOS: \/private\/etc\/<\/p>\n<p>3. Once you find the host file, right-click on it and choose \"<strong>Open With<\/strong>\" and then select your text editor.<\/p>\n<p>4. Make the changes you wish to make to the host file.<\/p>\n<p>5. Save the file by pressing \"<strong>Ctrl+S<\/strong>\" on Windows or \"<strong>Command+S<\/strong>\" on macOS.<\/p>\n<p>6. Close the text editor and you&#8217;re done.<\/p>\n<p>It&#8217;s important to note that saving the changes to the host file may require administrative privileges on your computer, depending on the operating system you&#8217;re using. So, if you are prompted to provide administrative permission, make sure to do so to ensure your changes are saved successfully.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_do_I_add_a_host_address_to_my_Mac\"><\/span>How do I add a host address to my Mac?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>There are several steps to adding a host address to a Mac:<\/p>\n<p>1. Open the Terminal application on your Mac. You can usually find this in the \"<strong>Utilities<\/strong>\" folder within the \"<strong>Applications<\/strong>\" folder.<\/p>\n<p>2. Type \"<strong>sudo nano \/etc\/hosts<\/strong>\" and press Enter. This will open the hosts file in the nano text editor with administrator privileges.<\/p>\n<p>3. Navigate to the bottom of the hosts file and add a line for the new host address. For example, if the host address is \"<strong>example.com<\/strong>\" and its IP address is \"<strong>192.168.0.1<\/strong>\", you would add the following line: \"<strong>192.168.0.1 example.com<\/strong>\"<\/p>\n<p>4. Save the changes to the hosts file by pressing Control + X, then Y, then Enter.<\/p>\n<p>5. Flush the DNS cache by typing \"<strong>dscacheutil -flushcache<\/strong>\" and pressing Enter.<\/p>\n<p>6. Exit the Terminal application and test your new host address by opening a web browser and navigating to the address.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_do_I_manually_edit_hosts_file\"><\/span>How do I manually edit hosts file?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The hosts file is a simple text file on your computer that translates domain names into IP addresses. By changing the entries in the hosts file, you can control how your computer looks up IP addresses and which websites it can access. <\/p>\n<p>Here are the steps to manually edit the hosts file on a Windows computer:<\/p>\n<p>1. Open Notepad with Administrator privileges.<br \/>\n2. Navigate to the following path: C:\\Windows\\System32\\drivers\\etc.<br \/>\n3. In the \"<strong>etc<\/strong>\" folder, you should see a file named \"<strong>hosts<\/strong>\". Right-click on that file and select \"<strong>Open with<\/strong>\" and choose Notepad.<br \/>\n4. Make the necessary changes to the file. You can add or remove IP address and domain name pairs by appending them to the bottom of the file using the following format: <\/p>\n<p>   [IP address] [domain name]<\/p>\n<p>   For example, if you want to block access to a website with the IP address 123.345.567.89, you would add the following line: <\/p>\n<p>   127.0.0.1\t\tblockedwebsite.com<\/p>\n<p>   Save the changes to the file.<\/p>\n<p>5. Flush the DNS cache to ensure that the changes take effect immediately. Open Command Prompt with Administrator privileges and run the command \"<strong>ipconfig \/flushdns<\/strong>\".<\/p>\n<p>It&#8217;s important to note that editing the hosts file can have unintended consequences, so it&#8217;s recommended that you create a backup of the original file before making any changes. Additionally, if you&#8217;re not familiar with IP addresses or domain names, it&#8217;s best to consult with a professional to ensure that you make the right changes.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_do_I_save_a_modified_host_file\"><\/span>How do I save a modified host file?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The host file on a device contains domain mappings &#8211; basically, it controls where your computer or device goes when you type in a website address. Saving a modified host file is a simple process, and you can follow these steps to do so:<\/p>\n<p>1. Open your preferred text editor (Notepad, Atom, Sublime Text, etc.).<br \/>\n2. Navigate to the host file location on your device. On Windows, it is typically located at \"<strong>C:\\Windows\\System32\\drivers\\etc\\hosts<\/strong>\", while on macOS, it can be found at \"<strong>\/private\/etc\/hosts<\/strong>\".<br \/>\n3. Open the host file in your text editor. Make any necessary modifications to the file.<br \/>\n4. Save the file.<\/p>\n<p>The process may require administrative privileges, especially when saving the file on Windows devices. Therefore, make sure that you have the necessary permissions before making any changes and saving the modified host file.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_do_I_open_hosts_file_on_Mac\"><\/span>How do I open hosts file on Mac?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To open the hosts file on a Mac, you need to follow these steps:<\/p>\n<p>1. Open the Finder window and navigate to the \"<strong>Go<\/strong>\" menu.<\/p>\n<p>2. Click on \"<strong>Go to Folder<\/strong>\" and type in the following path: \"<strong>\/private\/etc\/<\/strong>\"<\/p>\n<p>3. Find the \"<strong>hosts<\/strong>\" file and double-click on it to open it in a text editor.<\/p>\n<p>4. If prompted, enter your admin password to allow access to the file.<\/p>\n<p>5. Make the desired changes to the file, and then save it.<\/p>\n<p>It&#8217;s important to note that editing the hosts file can have significant consequences, and it should only be done by advanced users with a clear understanding of the potential risks and benefits. This file is used to map IP addresses to domain names, so any changes made to it can affect the way your computer interacts with websites and other network resources. Before making any changes, be sure to back up the original hosts file so that you can restore it if necessary.<br \/>\n<script type=\"application\/ld+json\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"Is there a hosts file on Mac?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes, there is a hosts file on a Mac. The hosts file is a plain text file that maps hostnames to IP addresses. This file exists on all operating systems, including Mac OS. Here are the steps to access the hosts file on a Mac:\\n\\n1. Open Finder and go to Applications.\\n2. Open the Utilities folder.\\n3. Open Terminal.\\n4. In the Terminal window, type \\\"sudo nano \\\/private\\\/etc\\\/hosts\\\" and press Enter.\\n5. Enter your administrator password when prompted.\\n6. The hosts file will open in the Nano text editor. Use the arrow keys to navigate the file.\\n7. Make changes to the file as needed.\\n8. Save the changes by pressing Control+O, then press Enter. Exit Nano by pressing Control+X.\\n\\nIt is important to note that modifying the hosts file can have consequences, and changes made to the file can affect your computer's networking capabilities. Therefore, modifications should only be made if you have knowledge of how the file works and the potential consequences of any changes made.\"}},{\"@type\":\"Question\",\"name\":\"How do I save a host file?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"To save a host file, you can follow these steps:\\n\\n1. Open a text editor on your computer. This could be Notepad on Windows or TextEdit on macOS.\\n\\n2. Access the host file location. The host file is typically located in the following directories:\\n\\n On Windows: C:\\\\Windows\\\\System32\\\\drivers\\\\etc\\\\\\n On macOS: \\\/private\\\/etc\\\/\\n\\n3. Once you find the host file, right-click on it and choose \\\"Open With\\\" and then select your text editor.\\n\\n4. Make the changes you wish to make to the host file.\\n\\n5. Save the file by pressing \\\"Ctrl+S\\\" on Windows or \\\"Command+S\\\" on macOS.\\n\\n6. Close the text editor and you're done.\\n\\nIt's important to note that saving the changes to the host file may require administrative privileges on your computer, depending on the operating system you're using. So, if you are prompted to provide administrative permission, make sure to do so to ensure your changes are saved successfully.\"}},{\"@type\":\"Question\",\"name\":\"How do I add a host address to my Mac?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"There are several steps to adding a host address to a Mac:\\n\\n1. Open the Terminal application on your Mac. You can usually find this in the \\\"Utilities\\\" folder within the \\\"Applications\\\" folder.\\n\\n2. Type \\\"sudo nano \\\/etc\\\/hosts\\\" and press Enter. This will open the hosts file in the nano text editor with administrator privileges.\\n\\n3. Navigate to the bottom of the hosts file and add a line for the new host address. For example, if the host address is \\\"example.com\\\" and its IP address is \\\"192.168.0.1\\\", you would add the following line: \\\"192.168.0.1 example.com\\\"\\n\\n4. Save the changes to the hosts file by pressing Control + X, then Y, then Enter.\\n\\n5. Flush the DNS cache by typing \\\"dscacheutil -flushcache\\\" and pressing Enter.\\n\\n6. Exit the Terminal application and test your new host address by opening a web browser and navigating to the address.\"}},{\"@type\":\"Question\",\"name\":\"How do I manually edit hosts file?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"The hosts file is a simple text file on your computer that translates domain names into IP addresses. By changing the entries in the hosts file, you can control how your computer looks up IP addresses and which websites it can access. \\n\\nHere are the steps to manually edit the hosts file on a Windows computer:\\n\\n1. Open Notepad with Administrator privileges. \\n2. Navigate to the following path: C:\\\\Windows\\\\System32\\\\drivers\\\\etc. \\n3. In the \\\"etc\\\" folder, you should see a file named \\\"hosts\\\". Right-click on that file and select \\\"Open with\\\" and choose Notepad. \\n4. Make the necessary changes to the file. You can add or remove IP address and domain name pairs by appending them to the bottom of the file using the following format: \\n\\n   [IP address] [domain name]\\n\\n   For example, if you want to block access to a website with the IP address 123.345.567.89, you would add the following line: \\n\\n   127.0.0.1\\t\\tblockedwebsite.com\\n\\n   Save the changes to the file.\\n   \\n5. Flush the DNS cache to ensure that the changes take effect immediately. Open Command Prompt with Administrator privileges and run the command \\\"ipconfig \\\/flushdns\\\".\\n\\nIt's important to note that editing the hosts file can have unintended consequences, so it's recommended that you create a backup of the original file before making any changes. Additionally, if you're not familiar with IP addresses or domain names, it's best to consult with a professional to ensure that you make the right changes.\"}},{\"@type\":\"Question\",\"name\":\"How do I save a modified host file?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"The host file on a device contains domain mappings - basically, it controls where your computer or device goes when you type in a website address. Saving a modified host file is a simple process, and you can follow these steps to do so:\\n\\n1. Open your preferred text editor (Notepad, Atom, Sublime Text, etc.).\\n2. Navigate to the host file location on your device. On Windows, it is typically located at \\\"C:\\\\Windows\\\\System32\\\\drivers\\\\etc\\\\hosts\\\", while on macOS, it can be found at \\\"\\\/private\\\/etc\\\/hosts\\\".\\n3. Open the host file in your text editor. Make any necessary modifications to the file.\\n4. Save the file.\\n\\nThe process may require administrative privileges, especially when saving the file on Windows devices. Therefore, make sure that you have the necessary permissions before making any changes and saving the modified host file.\"}},{\"@type\":\"Question\",\"name\":\"How do I open hosts file on Mac?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"To open the hosts file on a Mac, you need to follow these steps:\\n\\n1. Open the Finder window and navigate to the \\\"Go\\\" menu.\\n\\n2. Click on \\\"Go to Folder\\\" and type in the following path: \\\"\\\/private\\\/etc\\\/\\\"\\n\\n3. Find the \\\"hosts\\\" file and double-click on it to open it in a text editor.\\n\\n4. If prompted, enter your admin password to allow access to the file.\\n\\n5. Make the desired changes to the file, and then save it.\\n\\nIt's important to note that editing the hosts file can have significant consequences, and it should only be done by advanced users with a clear understanding of the potential risks and benefits. This file is used to map IP addresses to domain names, so any changes made to it can affect the way your computer interacts with websites and other network resources. Before making any changes, be sure to back up the original hosts file so that you can restore it if necessary.\"}}]}<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The steps to save the host file on a Mac are as follows: 1. Open the Terminal application on your Mac by searching for it in Spotlight or through the Applications folder in Finder. 2. Type the following command in the terminal: sudo nano \/private\/etc\/hosts. This is the command to open the host file using &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/\"> <span class=\"screen-reader-text\">How to Save Host File on Mac?<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[22],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Save Host File On Mac?<\/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:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Save Host File on Mac?\" \/>\n<meta property=\"og:description\" content=\"The steps to save the host file on a Mac are as follows: 1. Open the Terminal application on your Mac by searching for it in Spotlight or through the Applications folder in Finder. 2. Type the following command in the terminal: sudo nano \/private\/etc\/hosts. This is the command to open the host file using &hellip; How to Save Host File on Mac? Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-02T05:55:31+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Werner\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.tunesbro.com\/blog\/#website\",\"url\":\"https:\/\/www.tunesbro.com\/blog\/\",\"name\":\"\",\"description\":\"All things about tech, Windows, Mac, Android and iOS\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.tunesbro.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/#webpage\",\"url\":\"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/\",\"name\":\"How to Save Host File on Mac?\",\"isPartOf\":{\"@id\":\"https:\/\/www.tunesbro.com\/blog\/#website\"},\"datePublished\":\"2023-07-02T05:55:31+00:00\",\"dateModified\":\"2023-07-02T05:55:31+00:00\",\"author\":{\"@id\":\"https:\/\/www.tunesbro.com\/blog\/#\/schema\/person\/e53e73cdb43db2e696f23a042b0fe3f0\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.tunesbro.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Save Host File on Mac?\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.tunesbro.com\/blog\/#\/schema\/person\/e53e73cdb43db2e696f23a042b0fe3f0\",\"name\":\"Werner\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.tunesbro.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3e952dc533362b0988b19bf0597bb88a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3e952dc533362b0988b19bf0597bb88a?s=96&d=mm&r=g\",\"caption\":\"Werner\"},\"url\":\"https:\/\/www.tunesbro.com\/blog\/author\/werner\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Save Host File On Mac?","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:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/","og_locale":"en_US","og_type":"article","og_title":"How to Save Host File on Mac?","og_description":"The steps to save the host file on a Mac are as follows: 1. Open the Terminal application on your Mac by searching for it in Spotlight or through the Applications folder in Finder. 2. Type the following command in the terminal: sudo nano \/private\/etc\/hosts. This is the command to open the host file using &hellip; How to Save Host File on Mac? Read More &raquo;","og_url":"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/","article_published_time":"2023-07-02T05:55:31+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Werner","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.tunesbro.com\/blog\/#website","url":"https:\/\/www.tunesbro.com\/blog\/","name":"","description":"All things about tech, Windows, Mac, Android and iOS","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tunesbro.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/#webpage","url":"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/","name":"How to Save Host File on Mac?","isPartOf":{"@id":"https:\/\/www.tunesbro.com\/blog\/#website"},"datePublished":"2023-07-02T05:55:31+00:00","dateModified":"2023-07-02T05:55:31+00:00","author":{"@id":"https:\/\/www.tunesbro.com\/blog\/#\/schema\/person\/e53e73cdb43db2e696f23a042b0fe3f0"},"breadcrumb":{"@id":"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.tunesbro.com\/blog\/how-to-save-host-file-on-mac\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.tunesbro.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Save Host File on Mac?"}]},{"@type":"Person","@id":"https:\/\/www.tunesbro.com\/blog\/#\/schema\/person\/e53e73cdb43db2e696f23a042b0fe3f0","name":"Werner","image":{"@type":"ImageObject","@id":"https:\/\/www.tunesbro.com\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/3e952dc533362b0988b19bf0597bb88a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3e952dc533362b0988b19bf0597bb88a?s=96&d=mm&r=g","caption":"Werner"},"url":"https:\/\/www.tunesbro.com\/blog\/author\/werner\/"}]}},"_links":{"self":[{"href":"https:\/\/www.tunesbro.com\/blog\/wp-json\/wp\/v2\/posts\/3058"}],"collection":[{"href":"https:\/\/www.tunesbro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tunesbro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tunesbro.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tunesbro.com\/blog\/wp-json\/wp\/v2\/comments?post=3058"}],"version-history":[{"count":1,"href":"https:\/\/www.tunesbro.com\/blog\/wp-json\/wp\/v2\/posts\/3058\/revisions"}],"predecessor-version":[{"id":3327,"href":"https:\/\/www.tunesbro.com\/blog\/wp-json\/wp\/v2\/posts\/3058\/revisions\/3327"}],"wp:attachment":[{"href":"https:\/\/www.tunesbro.com\/blog\/wp-json\/wp\/v2\/media?parent=3058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tunesbro.com\/blog\/wp-json\/wp\/v2\/categories?post=3058"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tunesbro.com\/blog\/wp-json\/wp\/v2\/tags?post=3058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}