<input type="hidden" id="_wpnonce" name="_wpnonce" value="9b59fc619e" /><input type="hidden" name="_wp_http_referer" value="/blog/wp-json/wp/v2/posts/1714" /><input type="hidden" id="_wpnonce" name="_wpnonce" value="9b59fc619e" /><input type="hidden" name="_wp_http_referer" value="/blog/wp-json/wp/v2/posts/1714" />{"id":1714,"date":"2013-09-03T12:36:05","date_gmt":"2013-09-03T02:36:05","guid":{"rendered":"https:\/\/www.businesslegions.com\/blog\/?p=1714"},"modified":"2013-09-03T12:36:05","modified_gmt":"2013-09-03T02:36:05","slug":"tool-to-quickly-switch-between-multiple-host-files","status":"publish","type":"post","link":"https:\/\/www.businesslegions.com\/blog\/2013\/09\/03\/tool-to-quickly-switch-between-multiple-host-files\/","title":{"rendered":"Tool to quickly switch between multiple host files"},"content":{"rendered":"<!--CusAds0--><p>Here&#8217;s a great tool for web developers who needs to quickly and easily switch hosting names from a test server to a production server. This can be done by changing entries in the hosts file in Windows. The basic purpose of the host file is to associate the host name (e.g www.businesslegions.com) to the IP address (xx.xx.xx.xx).<\/p>\n<p>Now, there is a manual way of changing the host file in Windows (C:\\Windows\\System32\\Drivers\\etc) but this process can be very tedious and time consuming. So here&#8217;s my recommendation: <a title=\"Hosts Switcher\" href=\"http:\/\/hostswitcher.codeplex.com\/\" target=\"_blank\">Hosts Switcher<\/a><\/p>\n<p>At first, the main interface has just the default hosts file in the list. The available options include Use as Hosts, Copy, Delete, View\/Edit, and Open Folder, and all these operation can be performed on the currently selected file. A log of all the activities performed by the tool is maintained at the bottom.<\/p><!--CusAds0-->\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2013\/09\/hosts-switcher.png?strip=all&w=2560\"><img decoding=\"async\" alt=\"hosts-switcher\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2013\/09\/hosts-switcher-273x300.png?strip=all\" width=\"273\" height=\"300\" \/><\/a><\/p>\n<p>So all you need to do is copy the existing hosts, then select View\/Edit and add the entries host entries.<br \/>\nThis is a great way of testing your test website before it moves into production.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"lt-box\" style=\"border:1px solid #1d6a9e\"><div class=\"lt-box-title\" style=\"background-color:#2485C6;border-top:1px solid #a7cee8;text-shadow:1px 1px 0 #0b283b\">DO YOU LIKE WHAT YOU'VE READ?<\/div><div class=\"lt-box-content\">Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!\r\n\r\n<p><div class=\"tnp tnp-subscription \">\n<form method=\"post\" action=\"https:\/\/www.businesslegions.com\/blog\/wp-admin\/admin-ajax.php?action=tnp&amp;na=s\">\n<input type=\"hidden\" name=\"nlang\" value=\"\">\n<div class=\"tnp-field tnp-field-firstname\"><label for=\"tnp-1\">Name<\/label>\n<input class=\"tnp-name\" type=\"text\" name=\"nn\" id=\"tnp-1\" value=\"\" placeholder=\"\"><\/div>\n<div class=\"tnp-field tnp-field-email\"><label for=\"tnp-2\">Email<\/label>\n<input class=\"tnp-email\" type=\"email\" name=\"ne\" id=\"tnp-2\" value=\"\" placeholder=\"\" required><\/div>\n<div class=\"tnp-field tnp-field-button\" style=\"text-align: left\"><input class=\"tnp-submit\" type=\"submit\" value=\"Subscribe\" style=\"\">\n<\/div>\n<\/form>\n<\/div>\n<\/p>\r\n\r\n<\/div><\/div><!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a great tool for web developers who needs to quickly and easily switch hosting names from a test server to a production server. This can be done by changing entries in the hosts file in Windows. The basic purpose of the host file is to associate the host name (e.g www.businesslegions.com) to the IP [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3138,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[830,3],"tags":[1567,1568,236,1570],"class_list":["post-1714","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-technology","category-technology","tag-host-files","tag-hosts-files","tag-interface","tag-production-server"],"_links":{"self":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/1714","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/comments?post=1714"}],"version-history":[{"count":3,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/1714\/revisions"}],"predecessor-version":[{"id":1723,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/1714\/revisions\/1723"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/media\/3138"}],"wp:attachment":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/media?parent=1714"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/categories?post=1714"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/tags?post=1714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}