{"id":107,"date":"2011-08-29T13:29:08","date_gmt":"2011-08-29T13:29:08","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2011\/08\/29\/modifying-your-hosts-file\/"},"modified":"2021-10-26T09:18:08","modified_gmt":"2021-10-26T13:18:08","slug":"modifying-your-hosts-file","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/","title":{"rendered":"How to Modify Your hosts File Using Windows"},"content":{"rendered":"<div class=\"alert alert-info\" role=\"alert\"><b>NOTE:<\/b> The following information is intended for <em>Windows<\/em> users. If you are using a <em>Mac<\/em>, please see our article on <a title=\"Click here to navigate to our guide for Mac OS X users.\" href=\"\/support\/edu\/software\/how-to-edit-your-hosts-file-on-a-mac\/\" rel=\"noopener noreferrer\"><b>How to Modify Your <em>hosts<\/em> File Using Mac OS X<\/b><\/a><\/div>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"jetpack-video-wrapper\"><div class=\"yt-3j4s7yGHExk\">\n\t<a class=\"play-video-3j4s7yGHExk\" style=\"position: relative; display: flex; flex-wrap: wrap; align-items: center; cursor: pointer;\">\n\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.ytimg.com\/vi_webp\/3j4s7yGHExk\/maxresdefault.webp\" width=\"1280\" height=\"720\" alt=\"How to Modify Your Hosts File in Windows\" style=\"width: 100%; height: auto;\">\n\t\t<span class=\"fa fa-imh-play-circle imh-ds-icon play-circle\" style=\"position: absolute; display:block; font-size:150px; color: #c52228; opacity:0;\"><\/span>\n\t<\/a>\n<\/div><\/div>\n<\/div><figcaption>Don\u2019t have time to read our full article? Watch our walk-through video.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">What is a <em>hosts<\/em> File Modification?<\/h2>\n\n\n\n<p>A <strong><em>hosts<\/em> file modification<\/strong> is a simple tweak that is used to \u201ctrick\u201d your computer into resolving to a specific IP. This is especially useful when developing your site on our server when your nameservers are not pointed to us yet. This is necessary when you are working with domain-name-dependent software (ie: Content Management System (CMS), such as Joomla! or WordPress).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Does a <em>hosts<\/em> File Modification Work?<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/support\/images\/stories\/website\/how-to\/dns-vs-hosts-file-modification-hq.png\" rel=\"lightbox-0\"><img decoding=\"async\" src=\"\/support\/images\/stories\/website\/how-to\/dns-vs-hosts-file-modification-hq.png\" alt=\"DNS vs. hosts File Modification info-graphic depicting the path of routing a domain to an IP from different devices after performing a hosts file modification on your computer.\" title=\"Click on the image to enlarge it.\"><\/a><\/figure>\n\n\n\n<p>The image (to the right) depicts the process of resolving a domain to an IP address using various devices. In the image, the <em>hosts<\/em> file on \u201c<i>Your Computer<\/i>\u201d has been modified with the following code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">86.75.30.9 example.com\n86.75.30.9 www.example.com<\/pre>\n\n\n\n<p>Since the <em>hosts<\/em> file was only modified on \u201c<i>Your Computer<\/i>\u201c, only that device will resolve the domain: example.com to the IP address: 86.75.30.9.<\/p>\n\n\n\n<p>Other devices, that do not have the <em>hosts<\/em> file modified, will resolve to the IP address: 172.16.0.0, found in the DNS zone\u2013present in the name servers that the domain is pointed to.<\/p>\n\n\n\n<div style=\"clear: both;\">\u00a0<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">How to Modify Your <em>hosts<\/em> File<\/h2>\n\n\n\n<p>Follow the sections below to learn how to perform a <em>hosts<\/em> file modification.<\/p>\n\n\n\n<div class=\"alert alert-danger\" role=\"alert\"><b>IMPORTANT:<\/b> While reviewing this article, if you are unsure exactly what you need to do, we recommend watching the video above.<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Run Notepad as administrator<\/h3>\n\n\n\n<p>To modify your <em>hosts<\/em> file, you will need to first run Notepad (or any other text editor available to you on the same computer) as administrator. This is because the <em>hosts<\/em> file is a system file and cannot be modified without elevated privileges. Note: If you are running Windows XP or lower, you won\u2019t need to run it as administrator as this functionality only exists in Vista and above. Locate Notepad within your Start menu. If it is not already there, you can type \u201cnotepad\u201d into the search box to show it. Then, right-click on it and click on \u201cRun as administrator\u201d.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Open Your <em>hosts<\/em> File<\/h3>\n\n\n\n<p>After you have Notepad up and running as administrator, you can then locate your <em>hosts<\/em> file and open it. While not all Windows versions store it in the same place, it is typically located within <strong>c:\\windows\\system32\\drivers\\etc<\/strong> and the filename is: <em>hosts<\/em>. If you do not see it there, other possibilities are as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><b>Windows 95\/98\/Me<\/b> c:\\windows<\/li><li><b>Windows NT\/2000\/XP Pro<\/b> c:\\winnt\\system32\\drivers\\etc<\/li><li><b>Windows XP Home\/Vista\/Windows 7<\/b> c:\\windows\\system32\\drivers\\etc<\/li><li><b>Windows 8<\/b> c:\\windows\\system32\\drivers\\etc<\/li><li><b>Windows 10<\/b> c:\\windows\\system32\\drivers\\etc<\/li><\/ul>\n\n\n\n<p>Now, you need to open your <em>hosts<\/em> file. With Notepad already open, click on \u201cFile\u201d, then \u201cOpen\u2026\u201d. As the <em>hosts<\/em> file is not a standard .txt file that Notepad will look for by default, you will need to change the drop-down in the bottom right that says \u201cText Documents\u201d to select \u201cAll Files\u201d. Finally, navigate to the location of your <em>hosts<\/em> file and double-click on it to open the file using Notepad.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Find the IP Address Associated with Your Account<\/h3>\n\n\n\n<ol class=\"article_list wp-block-list\"><li><a href=\"\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\">Log into cPanel<\/a><\/li><li>To the right, you should see a column of stats describing your account. Look for <b>Server Information<\/b> and click on that link.\n<figure><a href=\"\/support\/wp-content\/uploads\/2011\/08\/hosts-file-change_cpanel-server-info.png\" rel=\"lightbox-0\"><img decoding=\"async\" style=\"width: 300px;\" src=\"\/support\/wp-content\/uploads\/2011\/08\/hosts-file-change_cpanel-server-info.png\" alt=\"cPanel main\"><\/a><\/figure><p><\/p>\n<\/li><li>Scroll down to where you see \u201cShared IP address\u201d. If you have a dedicated IP, it will say \u201cDedicated IP\u201d instead. This is the information that you will need for your <em>hosts<\/em> file mod.\n<figure><a href=\"\/support\/wp-content\/uploads\/2011\/08\/hosts-file-change_server-info-details.png\" rel=\"lightbox-0\"><img decoding=\"async\" style=\"width: 300px;\" src=\"\/support\/wp-content\/uploads\/2011\/08\/hosts-file-change_server-info-details.png\" alt=\"Server information\"><\/a><\/figure><p><\/p>\n<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Edit Your <em>hosts<\/em> File<\/h3>\n\n\n\n<p>Now that you have the correct file open, it\u2019s time to modify your <em>hosts<\/em> file. Within your <em>hosts<\/em> file, you should see something similar to the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># Copyright (c) 1993-1999 Microsoft Corp.\n# This is a sample HOSTS file used by Microsoft TCP\/IP for Windows.\n# This file contains the mappings of IP addresses to host names. \n# Each entry should be kept on an individual line.\n# The IP address should be placed in the first column followed by the corresponding host name.\n# The IP address and the host name should be separated by at least one space.\n# Additionally, comments (such as these) may be inserted on individual lines\n# or following the machine name denoted by a '#' symbol.\n# For example:\n# 102.54.94.97 rhino.acme.com # source server\n# 38.25.63.10 x.acme.com # x client host\n\n127.0.0.1 localhost<\/pre>\n\n\n\n<div class=\"alert alert-warning\" role=\"alert\"><b>WARNING:<\/b> Be sure to save a backup of your <em>hosts<\/em> file prior to making changes! To do so, you may follow these steps:\n<p>\u00a0<\/p>\n<ol>\n<li>In Notepad, click on \u201cFile\u201d and select \u201cSave As\u2026\u201d<\/li>\n<li>In the file name, enter something you will remember such as hosts_file_09.16.2013<\/li>\n<li>Click \u201cSave\u201d<\/li>\n<\/ol>\n<\/div>\n\n\n\n<p>Using the information you have gathered you will add some lines to your <em>hosts<\/em> file. They will look something like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">202.133.229.123 my-wordpress-site.com\n202.133.229.123 www.my-wordpress-site.com<\/pre>\n\n\n\n<div class=\"alert alert-info\" role=\"alert\"><b>NOTE:<\/b> Be sure to replace <i>202.133.229.123<\/i> with your actual IP address and <i>my-wordpress-site.com<\/i> and <i>www.my-wordpress-site.com<\/i> with your actual domain.<\/div>\n\n\n\n<p>After making the change, click on \u201cFile\u201d, then \u201cSave\u201d. You have now made your <strong><em>hosts<\/em> file modification<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Additional Windows 8\/10 Necessary Steps<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Configuring Defender in Windows 8 to Modify Your hosts file<\/h3>\n\n\n\n<p>If you are using Windows 8, Windows Defender is running by default and it prevents you from being able to modify your <em>hosts<\/em> file. You will need to allow this file to be edited by going into Windows Defender and performing the following steps:<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>Navigate to Windows Defender by hovering over the right corner to bring up the navigation bar. Click on the icon that appears to be a magnifying glass to start a search. Type in \u201cWindows Defender\u201d, click on the icon that appears. It will be labeled \u201cWindows Defender.\u201d Click on this icon and the application will launch.<\/li><li>When Windows Defender opens, click on the tab labeled <b>Settings<\/b>.<\/li><li>Next, type in the location of the <em>hosts<\/em> file based on the location of the Windows installation. Here\u2019s the default path: <em>c:\\windows\\system32\\drivers\\etc\\hosts<\/em><\/li><li>Click on the <b>Add<\/b> button and you\u2019ll see it added to the list beneath the file locations.<\/li><li>Click on <b>Save Changes<\/b> in the bottom right and then close Windows Defender.<\/li><li>The next step will be actually editing the file. As per the instructions above, you will need to edit the file as an Administrator. Hover over the right side again, and then search for \u201cNotepad\u201d. Open it as an administrator.<\/li><li>Open the file as per your HOSTS file path.<\/li><li>Make your edits, and click on <b>SAVE<\/b> by clicking on \u201cFile\u201d to bring up the menu. This completes the HOSTS file edit in Windows 8.<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Working with Windows 10 to Change Your Hosts File<\/h3>\n\n\n\n<p>When you are working with Windows 10, the main concern you will need to address before you begin is being able to modify your <em>hosts<\/em> file. You will need Administrator access in order to make the change. If you have any questions concerning administrator access please see <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/security\/identity-protection\/access-control\/local-accounts\" rel=\"noreferrer noopener\">Microsoft\u2019s definition of an Administrator for Local accounts<\/a> or speak with a local Windows administrator. In Microsoft\u2019s documentation, <em>local accounts<\/em> means \u201con your computer.\u201d Follow the steps below to quickly and easily make changes to the <em>hosts<\/em> file.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>Log in as your Administrator User<\/li><li>Right-click on the <b>Windows<\/b> icon in the toolbar.\n<figure><a href=\"\/support\/wp-content\/uploads\/2011\/08\/hosts-file-change_windows-10-right-click-1.png\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" style=\"width: 300px;\" src=\"\/support\/wp-content\/uploads\/2011\/08\/hosts-file-change_windows-10-right-click-1.png\" alt=\"text\"><\/a><\/figure><p><\/p>\n<\/li><li>A pop-up menu will appear. Look for <strong>Powershell (Administrator)<\/strong> then click on this option.\n<figure><a href=\"\/support\/wp-content\/uploads\/2011\/08\/hosts-file-change_windows-powershell-2.png\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" style=\"width: 300px;\" src=\"\/support\/wp-content\/uploads\/2011\/08\/hosts-file-change_windows-powershell-2.png\" alt=\"text\"><\/a><\/figure><p><\/p>\n<\/li><li>You will see a Window notification pop-up asking if you wish to allow permission for the application to make a change. Click on <b>Yes<\/b> to continue.\n<figure><a href=\"\/support\/wp-content\/uploads\/2011\/08\/hosts-file-change_windows10-notification.png\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" style=\"width: 300px;\" src=\"\/support\/wp-content\/uploads\/2011\/08\/hosts-file-change_windows10-notification.png\" alt=\"text\"><\/a><\/figure><p><\/p>\n<\/li><li>When the prompt appears, type in <strong>Notepad<\/strong>. Since you are launching Notepad from the Powershell Administrator, it will launch the application with the appropriate administrator permissions.\n<figure><a href=\"\/support\/wp-content\/uploads\/2011\/08\/hosts-file-change_powershell-window-3.png\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" style=\"width: 300px;\" src=\"\/support\/wp-content\/uploads\/2011\/08\/hosts-file-change_powershell-window-3.png\" alt=\"text\"><\/a><\/figure><p><\/p>\n<\/li><li>In the Notepad menu, click on <b>File<\/b>, then click on <b>Open<\/b>. You will need to navigate to the folder that contains the <em>hosts<\/em> file. This is the typical path: <b> c:\\Windows\\System32\\drivers\\etc<\/b>.<\/li><li>If you do not have show hidden files enabled in your Windows File preferences, you will not see any files. However, type in <strong>Hosts<\/strong>, then hit enter. Notice that the file does not have an extension \u2013 it\u2019s just \u201chosts.\u201d This will bring up the <strong>Hosts<\/strong> file. Since the <strong>Hosts<\/strong> file is a system file, it will be hidden unless you set your Windows file preferences to show hidden files.\n<figure><a href=\"\/support\/wp-content\/uploads\/2011\/08\/hosts-file-change_notepad-type-hosts-4.png\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" style=\"width: 300px;\" src=\"\/support\/wp-content\/uploads\/2011\/08\/hosts-file-change_notepad-type-hosts-4.png\" alt=\"text\"><\/a><\/figure><p><\/p>\n<\/li><li>At this point, you will see the <strong>hosts<\/strong> file. As per the instructions above you will need to have the IP address of the server where you trying to point the URL. Make sure that you follow the example provided and put a space between the IP address and the domain name that you wish to use.\n<figure><a href=\"\/support\/wp-content\/uploads\/2011\/08\/hosts-file-change_hosts-file-5.png\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" style=\"width: 300px;\" src=\"\/support\/wp-content\/uploads\/2011\/08\/hosts-file-change_hosts-file-5.png\" alt=\"text\"><\/a><\/figure><p><\/p>\n<\/li><li>Click on File, then click on <b>SAVE<\/b> in order to save any changes that you may have made to the file.<\/li><\/ol>\n\n\n\n<p>As a precaution close the Notepad window and then re-load the <em>hosts<\/em> file per the beginning steps and double-check to see that your changes have been applied.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How do I know that it worked?<\/h2>\n\n\n\n<p>The easiest way to see that it worked is to just go to your domain. Does it show your new site as it should on our servers? If there were no changes to your site from when you moved it, you might need to <a href=\"\/support\/website\/why-is-my-server-slow-how-do-i-run-a-ping-and-tracert-test\/\">run a ping test<\/a> to ensure that it shows the correct IP.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Flushing Your DNS Cache<\/h2>\n\n\n\n<p>After you modify your <em>hosts<\/em> file, if your computer has cached your DNS, you will need to clear it. Luckily, we have an article that can teach you how to do just that:<\/p>\n\n\n\n<p><a href=\"\/support\/domain-names\/dns-nameserver-changes\/how-do-i-clear-my-local-dns-cache\/\">How do I clear my local DNS cache?<\/a><\/p>\n\n\n\n<p>Learn more about DNS server management with our <a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/vps-hosting\/\">Managed VPS Hosting Product Guide<\/a>.<\/p>\n\n\n<div class=\"jumbotron\" style=\"text-align:center;\">\r\n<p style=\"font-size: 20px;\"><strong>Scalable VPS Infrastructure, Fully Managed<\/strong><\/p>\r\n<p>When shared hosting can't handle your traffic, VPS delivers dedicated resources that scale with demand. Our team manages the technical complexity while you manage your business.<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>NVMe Storage &nbsp;&nbsp; <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>High-Availability &nbsp;&nbsp; <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Ironclad Security &nbsp;&nbsp; <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Premium Support<\/p>\r\n<p><a class=\"btn btn-primary btn-lg\" href=\"https:\/\/www.inmotionhosting.com\/vps-hosting?mktgp=t&irgwc=1&affiliates=5001860&utm_campaign=Jumbotron&utm_source=supportcenter&utm_medium=cta&utm_term=vps-cta2\">VPS Hosting<\/a><\/p>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>NOTE: The following information is intended for Windows users. If you are using a Mac, please see our article on How to Modify Your hosts File Using Mac OS X What is a hosts File Modification? A hosts file modification is a simple tweak that is used to \u201ctrick\u201d your computer into resolving to a<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/\"> Read More ><\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4288],"tags":[],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-website"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Modify Your hosts File Using Windows and Notepad<\/title>\n<meta name=\"description\" content=\"In this article, we will discuss how to modify your hosts file on your computer.\" \/>\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.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Modify Your hosts File Using Windows and Notepad\" \/>\n<meta property=\"og:description\" content=\"In this article, we will discuss how to modify your hosts file on your computer.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2011-08-29T13:29:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-26T13:18:08+00:00\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b\"},\"headline\":\"How to Modify Your hosts File Using Windows\",\"datePublished\":\"2011-08-29T13:29:08+00:00\",\"dateModified\":\"2021-10-26T13:18:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/\"},\"wordCount\":1504,\"commentCount\":74,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Website\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/\",\"name\":\"How to Modify Your hosts File Using Windows and Notepad\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2011-08-29T13:29:08+00:00\",\"dateModified\":\"2021-10-26T13:18:08+00:00\",\"description\":\"In this article, we will discuss how to modify your hosts file on your computer.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Modify Your hosts File Using Windows\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/arn\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Modify Your hosts File Using Windows and Notepad","description":"In this article, we will discuss how to modify your hosts file on your computer.","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.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/","og_locale":"en_US","og_type":"article","og_title":"How to Modify Your hosts File Using Windows and Notepad","og_description":"In this article, we will discuss how to modify your hosts file on your computer.","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2011-08-29T13:29:08+00:00","article_modified_time":"2021-10-26T13:18:08+00:00","author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b"},"headline":"How to Modify Your hosts File Using Windows","datePublished":"2011-08-29T13:29:08+00:00","dateModified":"2021-10-26T13:18:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/"},"wordCount":1504,"commentCount":74,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Website"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/","name":"How to Modify Your hosts File Using Windows and Notepad","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2011-08-29T13:29:08+00:00","dateModified":"2021-10-26T13:18:08+00:00","description":"In this article, we will discuss how to modify your hosts file on your computer.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/modifying-your-hosts-file\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Modify Your hosts File Using Windows"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/arn\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4288,"name":"Website","slug":"website","link":"https:\/\/www.inmotionhosting.com\/support\/website\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":22,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/107\/revisions"}],"predecessor-version":[{"id":90246,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/107\/revisions\/90246"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}