{"id":841,"date":"2017-10-24T09:48:51","date_gmt":"2017-10-24T09:48:51","guid":{"rendered":"http:\/\/parsvds.com\/wiki\/?p=841"},"modified":"2017-10-24T09:48:51","modified_gmt":"2017-10-24T09:48:51","slug":"using-hosts-file-to-test-websites","status":"publish","type":"post","link":"https:\/\/parsvds.com\/wikitest\/2017\/10\/24\/using-hosts-file-to-test-websites\/","title":{"rendered":"\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u0647\u0627\u0633\u062a \u0628\u0631\u0627\u06cc \u062a\u0633\u062a \u0648\u0628 \u0633\u0627\u06cc\u062a"},"content":{"rendered":"<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-1352 aligncenter\" src=\"http:\/\/parsvds.com\/wiki\/wp-content\/uploads\/2017\/10\/Get-Paid-to-Test-Websites-300x130.png\" alt=\"\" width=\"404\" height=\"175\" \/><\/p>\n<p>\u0641\u0631\u0645\u062a \u0647\u0627\u0633\u062a \u0647\u0627 \u0628\u0633\u06cc\u0627\u0631 \u0633\u0627\u062f\u0647 \u0627\u0633\u062a<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644:<\/p>\n<pre><code>   1.2.3.4 example.com\n   1.2.3.4 www.example.com\n<\/code><\/pre>\n<h3>\u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644 \u0645\u06cc\u0632\u0628\u0627\u0646<\/h3>\n<h3>\u0648\u06cc\u0646\u062f\u0648\u0632<\/h3>\n<ol>\n<li>\u0627\u0632 \u0645\u0646\u0648\u06cc start-search \u0628\u0631\u0627\u06cc &#8220;notepad&#8221; (\u062f\u0631 \u0648\u06cc\u0646\u062f\u0648\u0632 \u0647\u0627\u06cc\u00a0 8- 10) \u06cc\u0627 \u0628\u0647 \u0645\u0633\u06cc\u0631:&#8221;All Programs -&gt; Accessories -&gt; Notepad&#8221; (\u062f\u0631 \u0648\u06cc\u0646\u062f\u0648\u0632 xp \u0648 \u0648\u06cc\u0646\u062f\u0648\u0632 7)<\/li>\n<li>\u0633\u067e\u0633 \u0628\u0631 \u0631\u0648\u06cc notepad \u06a9\u0644\u06cc\u06a9 \u0631\u0627\u0633\u062a \u06a9\u0646\u06cc\u062f \u0648 \u06af\u0632\u06cc\u0646\u0647 \u06cc\u00a0Run As Administrator \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f<\/li>\n<li>\u0628\u0627 notepad \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f\u00a0\u00a0<code>C:\\Windows\\System32\\Drivers\\etc\\hosts<\/code>.<\/li>\n<li>\u0641\u0627\u06cc\u0644 \u0631\u0627 \u0630\u062e\u06cc\u0631\u0647 \u0648 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h5>\u0644\u06cc\u0646\u0648\u06a9\u0633<\/h5>\n<ol>\n<li>\u062a\u0631\u0645\u06cc\u0646\u0627\u0644 \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f \u0648 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f<\/li>\n<li><code>\u0641\u0627\u06cc\u0644 \/etc\/hosts<\/code> \u062a\u0648\u0633\u0637 \u06cc\u0648\u0632\u0631 root : <code>sudo nano \/etc\/hosts<\/code><\/li>\n<\/ol>\n<h3>\u062a\u0633\u062a \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0634\u0645\u0627<\/h3>\n<ol>\n<li>\u0648\u0627\u0631\u062f \u062a\u0631\u0645\u06cc\u0646\u0627\u0644 \u0634\u0648\u06cc\u062f<\/li>\n<li>\u0628\u0627 \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u067e\u06cc\u0646\u06af \u0628\u06af\u06cc\u0631\u06cc\u062f : <code>ping -c2 example.com<\/code><\/li>\n<li>\u0646\u062a\u06cc\u062c\u0647 \u067e\u06cc\u0646\u06af \u06af\u0631\u0641\u062a\u0646 \u0627\u06cc \u067e\u06cc \u0627\u062f\u0631\u0633 \u06a9\u0647 \u0633\u062a \u0634\u062f\u0647 \u0645\u06cc\u0628\u0627\u0634\u062f<\/li>\n<\/ol>\n<h3 style=\"text-align: center;\"><span style=\"color: #ff0000;\"><strong>\u0645\u0637\u0627\u0644\u0628 \u0645\u0631\u062a\u0628\u0637<\/strong><\/span><\/h3>\n<h3 style=\"text-align: center;\"><span style=\"color: #ff0000;\"><strong><img decoding=\"async\" class=\"alignnone size-full wp-image-2684\" src=\"https:\/\/parsvds.com\/wiki\/wp-content\/uploads\/2019\/01\/search-1.png\" alt=\"\" width=\"128\" height=\"128\" \/><\/strong><\/span><\/h3>\n<p>[tie_slideshow]<\/p>\n<p>[tie_slide]<\/p>\n<style> .rotate{background-image: url(\"https:\/\/parsvds.com\/wiki\/wp-content\/uploads\/2019\/12\/bg-5-min.jpg\");height:200px;padding: 10px;animation-name: example;animation-duration: 2s;}  @-webkit-keyframes example { from { transform: translateY(50px) translateZ(0px) rotateX(90deg);opacity: 0;} to { transform: translateY(0px) translateZ(0px) rotateX(0deg);opacity: 1;} }  @keyframes example { from { transform: translateY(0px) translateZ(0px) rotateX(90deg);opacity: 0;} to { transform: translateY(0px) translateZ(0px) rotateX(0deg);opacity: 1;} }<\/style>\n<div class=\"r\">\n<div class=\"row\">\n<div class=\"col-sm-6 col-12\">\n<p style=\"padding:20px 0; color:#fff;text-align:center\">\u0627\u0645\u0646\u06cc\u062a \u060c \u0633\u0631\u0639\u062a \u060c \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc<br \/>\n\u0647\u0645\u0647 \u06cc\u06a9\u062c\u0627 \u062f\u0631 \u0633\u0631\u0648\u06cc\u0633 \u0647\u0627\u06cc \u067e\u0627\u0631\u0633 \u0648\u06cc \u062f\u06cc \u0627\u0633<br \/>\n\u0628\u0647\u062a\u0631\u06cc\u0646 \u0631\u0627 \u0627\u0632 \u0645\u0627 \u0628\u062e\u0648\u0627\u0647\u06cc\u062f<br \/>\n<br \/>\n<a href=\"https:\/\/parsvds.com\/\" class=\"btn btn-success\" style=\"color:#fff;\">\u0645\u0634\u0627\u0647\u062f\u0647 \u0633\u0631\u0648\u06cc\u0633 \u0647\u0627<\/a>\n<\/p>\n<\/div>\n<div class=\"col-sm-6 col-12\">\n<img decoding=\"async\"  src=\"https:\/\/parsvds.com\/wiki\/wp-content\/uploads\/2020\/01\/features1.png\" alt=\"\" style=\"height:180px;\" \/>\n<\/div>\n<\/div>\n<\/div>\n<p><script>\nvar doing = false;\njQuery(window).scroll(function() {\n    if (jQuery(this).scrollTop()>1200)\n    {\nif( !doing){\n        doing = true;\n            jQuery('.r').addClass('rotate');\n        }\n    }\n});\n<\/script>&nbsp;<br \/>\n<a href=\"https:\/\/parsvds.com\/wiki\/virtual-server-vnc\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"wp-image-2712 size-thumbnail alignright\" src=\"https:\/\/parsvds.com\/wiki\/wp-content\/uploads\/2019\/04\/internet_broken_connection_network_web_connect_global_offline_worldwide_net_disconnected-512-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<h3 class=\"post-title\"><a title=\"\u0622\u0645\u0648\u0632\u0634 \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u06a9\u0646\u0633\u0648\u0644\" href=\"https:\/\/parsvds.com\/wiki\/virtual-server-vnc\/\" target=\"_blank\" rel=\"noopener\">\u0622\u0645\u0648\u0632\u0634 \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u06a9\u0646\u0633\u0648\u0644<\/a><\/h3>\n<p>\u0628\u0631\u062e\u06cc \u0645\u0648\u0627\u0642\u0639 \u0627\u0645\u06a9\u0627\u0646 \u062f\u0627\u0631\u062f \u0628\u0627 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u06cc \u06a9\u0647 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u062f\u0647\u06cc\u062f \u062f\u0633\u062a\u0631\u0633\u06cc \u0634\u0645\u0627 \u0628\u0627 \u0633\u0631\u0648\u0631 \u0642\u0637\u0639 \u0634\u0648\u062f<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0628\u0647 \u0634\u0645\u0627 \u0631\u0648\u0634 \u062d\u0644 \u0627\u06cc\u0646 \u0645\u0634\u06a9\u0644 \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a[\/tie_slide][tie_slide]<\/p>\n<p><a href=\"https:\/\/parsvds.com\/wiki\/how\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2203 size-thumbnail alignright\" src=\"https:\/\/parsvds.com\/wiki\/wp-content\/uploads\/2018\/11\/admin-ajax-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<h3 class=\"post-title\"><a title=\"\u0622\u0645\u0648\u0632\u0634 \u0647\u0627\u06cc \u062a\u0635\u0648\u06cc\u0631\u06cc \u067e\u0646\u0644 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0633\u0631\u0648\u0631 \u0647\u0627\u06cc \u0645\u062c\u0627\u0632\u06cc \u067e\u0627\u0631\u0633 \u0648\u06cc \u062f\u06cc \u0627\u0633\" href=\"https:\/\/parsvds.com\/wiki\/how\/\" target=\"_blank\" rel=\"noopener\">\u0622\u0645\u0648\u0632\u0634 \u0647\u0627\u06cc \u062a\u0635\u0648\u06cc\u0631\u06cc \u067e\u0646\u0644 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0633\u0631\u0648\u0631 \u0647\u0627\u06cc \u0645\u062c\u0627\u0632\u06cc \u067e\u0627\u0631\u0633 \u0648\u06cc \u062f\u06cc \u0627\u0633<\/a><\/h3>\n<p><strong>\u00a0<\/strong><\/p>\n<p>\u0645\u062c\u0645\u0648\u0639\u0647 \u0627\u06cc \u0627\u0632 \u0622\u0645\u0648\u0632\u0634 \u0647\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0648 \u06a9\u0646\u062a\u0631\u0644 \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc [\/tie_slide][tie_slide]<\/p>\n<p><a href=\"https:\/\/parsvds.com\/wiki\/how-to-change-your-hostname-on-debian\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2691 size-thumbnail alignright\" src=\"https:\/\/parsvds.com\/wiki\/wp-content\/uploads\/2019\/04\/256-256-b1f94ee316e185fd0cf7ac106864367f-Debian-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<h3 class=\"post-title\"><a title=\"\u0622\u0645\u0648\u0632\u0634 \u062a\u063a\u06cc\u06cc\u0631 \u0647\u0627\u0633\u062a \u0646\u06cc\u0645 \u062f\u0631 \u062f\u0628\u06cc\u0627\u0646\" href=\"https:\/\/parsvds.com\/wiki\/how-to-change-your-hostname-on-debian\/\" target=\"_blank\" rel=\"noopener\">\u0622\u0645\u0648\u0632\u0634 \u062a\u063a\u06cc\u06cc\u0631 \u0647\u0627\u0633\u062a \u0646\u06cc\u0645 \u062f\u0631 \u062f\u0628\u06cc\u0627\u0646<\/a><\/h3>\n<p><strong>\u00a0<\/strong><\/p>\n<p>\u0622\u0645\u0648\u0632\u0634 \u0645\u0631\u062d\u0644\u0647 \u0628\u0647 \u0645\u0631\u062d\u0644\u0647 \u062a\u063a\u06cc\u06cc\u0631 \u0647\u0627\u0633\u062a \u0646\u06cc\u0645 \u062f\u0631 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u062f\u0628\u06cc\u0627\u0646\u00a0 [\/tie_slide][tie_slide]<\/p>\n<p>[tie_slide]<\/p>\n<p><a href=\"https:\/\/parsvds.com\/wiki\/install-plesk-on-centos-7\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2707 size-thumbnail alignright\" src=\"https:\/\/parsvds.com\/wiki\/wp-content\/uploads\/2019\/04\/plesk-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<h3 class=\"post-title\"><a title=\"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 Plesk \u0631\u0648\u06cc CentOS 7\" href=\"https:\/\/parsvds.com\/wiki\/install-plesk-on-centos-7\/\" target=\"_blank\" rel=\"noopener\">\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 Plesk \u0631\u0648\u06cc CentOS 7<\/a><\/h3>\n<p>\u0627\u06cc\u0646 \u06a9\u0646\u062a\u0631\u0644 \u067e\u0646\u0644 \u0628\u0647 \u06cc\u0648\u0632\u0631 \u0647\u0627 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc \u062f\u0647\u062f \u062a\u0627 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0648\u0628 \u0633\u0627\u06cc\u062a\u0647\u0627 \u060c \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0647\u0627\u060c \u0627\u06cc\u0645\u06cc\u0644 \u0647\u0627 \u0648 \u062f\u0627\u0645\u0646\u0647 \u0647\u0627 \u0631\u0627 \u0628\u0647 \u0622\u0633\u0627\u0646\u06cc \u062a\u0648\u0633\u0637 \u06a9\u0646\u062a\u0631\u0644 \u067e\u0646\u0644 \u062a\u062d\u062a \u0648\u0628 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0645\u0631\u0648\u0631\u06af\u0631 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u0646\u062f.[\/tie_slide]<\/p>\n<p>[\/tie_slide]<\/p>\n<h3 class=\"post-title\"><\/h3>\n<p>&nbsp;<\/p>\n<p>[\/tie_slideshow]<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0641\u0631\u0645\u062a \u0647\u0627\u0633\u062a \u0647\u0627 \u0628\u0633\u06cc\u0627\u0631 \u0633\u0627\u062f\u0647 \u0627\u0633\u062a \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644: 1.2.3.4 example.com 1.2.3.4 www.example.com \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644 \u0645\u06cc\u0632\u0628\u0627\u0646 \u0648\u06cc\u0646\u062f\u0648\u0632 \u0627\u0632 \u0645\u0646\u0648\u06cc start-search \u0628\u0631\u0627\u06cc &#8220;notepad&#8221; (\u062f\u0631 \u0648\u06cc\u0646\u062f\u0648\u0632 \u0647\u0627\u06cc\u00a0 8- 10) \u06cc\u0627 \u0628\u0647 \u0645\u0633\u06cc\u0631:&#8221;All Programs -&gt; Accessories -&gt; Notepad&#8221; (\u062f\u0631 \u0648\u06cc\u0646\u062f\u0648\u0632 xp \u0648 \u0648\u06cc\u0646\u062f\u0648\u0632 7) \u0633\u067e\u0633 \u0628\u0631 \u0631\u0648\u06cc notepad \u06a9\u0644\u06cc\u06a9 \u0631\u0627\u0633\u062a \u06a9\u0646\u06cc\u062f \u0648 \u06af\u0632\u06cc\u0646\u0647 \u06cc\u00a0Run As Administrator \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":3696,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[1,21,22,27,29],"tags":[214,541,1102,1350,1659,1660],"class_list":{"0":"post-841","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-1","8":"category-linux-guides","9":"category-windows-guides","10":"category-faq","11":"category-networking","12":"tag-hosts-","13":"tag--hosts","14":"tag---hosts","17":"tag--hosts--"},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"\u062d\u0633\u06cc\u0646 \u06af\u0648\u06a9\u06cc","author_link":"https:\/\/parsvds.com\/wikitest\/author\/hosseingk\/"},"uagb_comment_info":0,"uagb_excerpt":"\u0641\u0631\u0645\u062a \u0647\u0627\u0633\u062a \u0647\u0627 \u0628\u0633\u06cc\u0627\u0631 \u0633\u0627\u062f\u0647 \u0627\u0633\u062a \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644: 1.2.3.4 example.com 1.2.3.4 www.example.com \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644 \u0645\u06cc\u0632\u0628\u0627\u0646 \u0648\u06cc\u0646\u062f\u0648\u0632 \u0627\u0632 \u0645\u0646\u0648\u06cc start-search \u0628\u0631\u0627\u06cc &#8220;notepad&#8221; (\u062f\u0631 \u0648\u06cc\u0646\u062f\u0648\u0632 \u0647\u0627\u06cc\u00a0 8- 10) \u06cc\u0627 \u0628\u0647 \u0645\u0633\u06cc\u0631:&#8221;All Programs -&gt; Accessories -&gt; Notepad&#8221; (\u062f\u0631 \u0648\u06cc\u0646\u062f\u0648\u0632 xp \u0648 \u0648\u06cc\u0646\u062f\u0648\u0632 7) \u0633\u067e\u0633 \u0628\u0631 \u0631\u0648\u06cc notepad \u06a9\u0644\u06cc\u06a9 \u0631\u0627\u0633\u062a \u06a9\u0646\u06cc\u062f \u0648 \u06af\u0632\u06cc\u0646\u0647 \u06cc\u00a0Run As Administrator \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f&hellip;","_links":{"self":[{"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/posts\/841","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/comments?post=841"}],"version-history":[{"count":0,"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/posts\/841\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/media?parent=841"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/categories?post=841"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/tags?post=841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}