{"id":24199,"date":"2022-02-02T14:24:27","date_gmt":"2022-02-02T14:24:27","guid":{"rendered":"https:\/\/1-grid.com\/knowledge\/temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file\/"},"modified":"2023-10-19T13:03:54","modified_gmt":"2023-10-19T13:03:54","slug":"temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file","status":"publish","type":"ht_kb","link":"https:\/\/1grid.co.za\/knowledge\/temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file\/","title":{"rendered":"Temporary URL Access To Site And CPanel By Modifying The \u201cHosts\u201d File"},"content":{"rendered":"<p style=\"box-sizing: border-box; margin: 0px; font-family: Arial, Helvetica, sans-serif; padding-bottom: 1.6em; font-size: 17px; line-height: 1.75; color: #777777; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;\">In situations like switching the web hosting to Pickaweb (When your domain is pointing to the old server and you want to test the site in our Server), we can use this method to access your site. This is especially useful when developing your site on our server and the nameservers are not pointed to us yet, and you are working with domain-name-dependent software like\u00a0<a style=\"box-sizing: border-box; text-decoration: none; outline: 0px; transition-duration: 0.12s; transition-timing-function: ease-out; background-color: transparent; color: #428bca;\" href=\"https:\/\/www.pickaweb.co.uk\/web-hosting\/joomla-hosting\/\" target=\"_blank\" rel=\"noopener\">Joomla<\/a>,<a style=\"box-sizing: border-box; text-decoration: none; outline: 0px; transition-duration: 0.12s; transition-timing-function: ease-out; background-color: transparent; color: #428bca;\" href=\"https:\/\/www.pickaweb.co.uk\/web-hosting\/wordpress-hosting\/\" target=\"_blank\" rel=\"noopener\">WordPress<\/a> etc.<\/p>\n<p style=\"box-sizing: border-box; margin: 0px; font-family: Arial, Helvetica, sans-serif; padding-bottom: 1.6em; font-size: 17px; line-height: 1.75; color: #777777; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;\">The following steps are for Windows users.<\/p>\n<p style=\"box-sizing: border-box; margin: 0px; font-family: Arial, Helvetica, sans-serif; padding-bottom: 1.6em; font-size: 17px; line-height: 1.75; color: #777777; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;\">1. You need to find the location of the host file as per your Operating System.<\/p>\n<p style=\"box-sizing: border-box; margin: 0px; font-family: Arial, Helvetica, sans-serif; padding-bottom: 1.6em; font-size: 17px; line-height: 1.75; color: #777777; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;\">Windows XP Home\/Vista\/Windows7 &gt;&gt; c:windowssystem32driversetchosts<br style=\"box-sizing: border-box;\" \/>Windows NT\/2000\/XP Pro &gt;&gt; c:winntsystem32driversetchosts<br style=\"box-sizing: border-box;\" \/>Windows 95\/98\/Me &gt;&gt; c:windowshosts<\/p>\n<p style=\"box-sizing: border-box; margin: 0px; font-family: Arial, Helvetica, sans-serif; padding-bottom: 1.6em; font-size: 17px; line-height: 1.75; color: #777777; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;\">2. Note: Hosts is the name of the hosts file and not another directory name. It does not have an extension (extensions are the .exe, .txt, .doc, etc. endings to filenames).<br style=\"box-sizing: border-box;\" \/>3. Take a copy of \u201chosts\u201d file and keep it in the system, so if needed we can restore this file.<br style=\"box-sizing: border-box;\" \/>4. Open your hosts file in Notepad and add the following entry.<\/p>\n<p style=\"box-sizing: border-box; margin: 0px; font-family: Arial, Helvetica, sans-serif; padding-bottom: 1.6em; font-size: 17px; line-height: 1.75; color: #777777; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;\">Your IP address Your domain name<br style=\"box-sizing: border-box;\" \/>(Eg: 85.13.219.82 test.com)<\/p>\n<p style=\"box-sizing: border-box; margin: 0px; font-family: Arial, Helvetica, sans-serif; padding-bottom: 1.6em; font-size: 17px; line-height: 1.75; color: #777777; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;\">After making the changes, save the hosts file and restart your web browser. This should force those sites to resolve to the given IPs. If you would like you can also use the free hosts file modification programs for this purpose. (Eg: <a href=\"http:\/\/www.softpedia.com\/get\/Security\/Security-Related\/Hoster.shtml\" rel=\"noreferrer\">http:\/\/www.softpedia.com\/get\/Security\/Security-Related\/Hoster.shtml<\/a>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In situations like switching the web hosting to Pickaweb (When your domain is pointing to the old server and you want to test the site in our Server), we can use this method to access your site. This is especially useful when developing your site on our server and the&#8230;<\/p>\n","protected":false},"author":21,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[24],"ht-kb-tag":[233,238,403,469,640,998,1077,1106,1112],"class_list":["post-24199","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-website","ht_kb_tag-control-panel","ht_kb_tag-cpanel","ht_kb_tag-file","ht_kb_tag-host","ht_kb_tag-modify","ht_kb_tag-temporary","ht_kb_tag-url","ht_kb_tag-web-hosting","ht_kb_tag-website"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Temporary Url Access To Site &amp; Cpanel: Modify \u201cHosts\u201d File<\/title>\n<meta name=\"description\" content=\"Access site and cPanel via a temporary URL in just 4 easy steps using our quick guide: 1-grid Knowledge Base\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/1grid.co.za\/knowledge\/temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Temporary Url Access To Site &amp; Cpanel: Modify \u201cHosts\u201d File\" \/>\n<meta property=\"og:description\" content=\"Access site and cPanel via a temporary URL in just 4 easy steps using our quick guide: 1-grid Knowledge Base\" \/>\n<meta property=\"og:url\" content=\"https:\/\/1grid.co.za\/knowledge\/temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file\/\" \/>\n<meta property=\"og:site_name\" content=\"1-grid Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/1grid.co.za\/\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-19T13:03:54+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@1grid_hosting\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file\/\",\"name\":\"Temporary Url Access To Site & Cpanel: Modify \u201cHosts\u201d File\",\"isPartOf\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\"},\"datePublished\":\"2022-02-02T14:24:27+00:00\",\"dateModified\":\"2023-10-19T13:03:54+00:00\",\"description\":\"Access site and cPanel via a temporary URL in just 4 easy steps using our quick guide: 1-grid Knowledge Base\",\"breadcrumb\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/1grid.co.za\/knowledge\/temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/1grid.co.za\/knowledge\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Temporary URL Access To Site And CPanel By Modifying The \u201cHosts\u201d File\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"contentUrl\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"width\":100,\"height\":100,\"caption\":\"1-Grid Domain Hosting Knowledge Base\"},\"image\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/1grid.co.za\/\",\"https:\/\/twitter.com\/1grid_hosting\",\"https:\/\/www.instagram.com\/1grid_hosting\/\",\"https:\/\/za.linkedin.com\/company\/1-grid\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Temporary Url Access To Site & Cpanel: Modify \u201cHosts\u201d File","description":"Access site and cPanel via a temporary URL in just 4 easy steps using our quick guide: 1-grid Knowledge Base","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:\/\/1grid.co.za\/knowledge\/temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file\/","og_locale":"en_US","og_type":"article","og_title":"Temporary Url Access To Site & Cpanel: Modify \u201cHosts\u201d File","og_description":"Access site and cPanel via a temporary URL in just 4 easy steps using our quick guide: 1-grid Knowledge Base","og_url":"https:\/\/1grid.co.za\/knowledge\/temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file\/","og_site_name":"1-grid Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/1grid.co.za\/","article_modified_time":"2023-10-19T13:03:54+00:00","twitter_card":"summary_large_image","twitter_site":"@1grid_hosting","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/1grid.co.za\/knowledge\/temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file\/","url":"https:\/\/1grid.co.za\/knowledge\/temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file\/","name":"Temporary Url Access To Site & Cpanel: Modify \u201cHosts\u201d File","isPartOf":{"@id":"https:\/\/1grid.co.za\/knowledge\/#website"},"datePublished":"2022-02-02T14:24:27+00:00","dateModified":"2023-10-19T13:03:54+00:00","description":"Access site and cPanel via a temporary URL in just 4 easy steps using our quick guide: 1-grid Knowledge Base","breadcrumb":{"@id":"https:\/\/1grid.co.za\/knowledge\/temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/1grid.co.za\/knowledge\/temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/1grid.co.za\/knowledge\/temporary-url-access-to-site-and-cpanel-by-modifying-the-hosts-file\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/1grid.co.za\/knowledge\/"},{"@type":"ListItem","position":2,"name":"Temporary URL Access To Site And CPanel By Modifying The \u201cHosts\u201d File"}]},{"@type":"WebSite","@id":"https:\/\/1grid.co.za\/knowledge\/#website","url":"https:\/\/1grid.co.za\/knowledge\/","name":"1-Grid Domain Hosting Knowledge Base","description":"","publisher":{"@id":"https:\/\/1grid.co.za\/knowledge\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/1grid.co.za\/knowledge\/#organization","name":"1-Grid Domain Hosting Knowledge Base","url":"https:\/\/1grid.co.za\/knowledge\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/","url":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","contentUrl":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","width":100,"height":100,"caption":"1-Grid Domain Hosting Knowledge Base"},"image":{"@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/1grid.co.za\/","https:\/\/twitter.com\/1grid_hosting","https:\/\/www.instagram.com\/1grid_hosting\/","https:\/\/za.linkedin.com\/company\/1-grid"]}]}},"_links":{"self":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/comments?post=24199"}],"version-history":[{"count":1,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24199\/revisions"}],"predecessor-version":[{"id":29587,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24199\/revisions\/29587"}],"wp:attachment":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/media?parent=24199"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-category?post=24199"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-tag?post=24199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}