<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kb.pathosting.co.th/index.php?action=history&amp;feed=atom&amp;title=Windows_file_hosts</id>
	<title>Windows file hosts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kb.pathosting.co.th/index.php?action=history&amp;feed=atom&amp;title=Windows_file_hosts"/>
	<link rel="alternate" type="text/html" href="https://kb.pathosting.co.th/index.php?title=Windows_file_hosts&amp;action=history"/>
	<updated>2026-04-05T18:14:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://kb.pathosting.co.th/index.php?title=Windows_file_hosts&amp;diff=547&amp;oldid=prev</id>
		<title>Admin at 18:54, 3 April 2015</title>
		<link rel="alternate" type="text/html" href="https://kb.pathosting.co.th/index.php?title=Windows_file_hosts&amp;diff=547&amp;oldid=prev"/>
		<updated>2015-04-03T18:54:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:54, 4 April 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== วิธีการตั้งค่า ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== วิธีการตั้งค่า ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;กดปุ่ม '''&lt;/del&gt;Windows&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;''' ที่คีย์บอร์ดค้างไว้ แล้วกดตัว '''R''' ... &lt;/del&gt;( &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[File:&lt;/del&gt;Windows&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-key.gif]] + R &lt;/del&gt;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;หา Shortcut ของโปรแกรม Notepad ของ &lt;/ins&gt;Windows (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;หาใน &lt;/ins&gt;Windows &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Start&lt;/ins&gt;)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;จะเป็นการเปิดโปรแกรม &lt;/del&gt;'''Run&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;''' ของ Windows ขึ้นมา&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;คลิกขวาที่ shortcut ของโปรแกรม Notepad แล้วเลือก &lt;/ins&gt;'''Run &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;as administrator&lt;/ins&gt;'''&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;br/&lt;/ins&gt;&amp;gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;br&lt;/ins&gt;/&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{fullurl&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Img/custom/notepad_as_administrator.png}}&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# ให้ copy คำสั่งด้านล่างนี้ ไปวางในช่อง &lt;/del&gt;'''&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;u&lt;/del&gt;&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;O&lt;/del&gt;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;u&lt;/del&gt;&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pen&lt;/del&gt;:''' &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;แล้วคลิกปุ่ม '''OK&lt;/del&gt;'''&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pre&lt;/del&gt;&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;C&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\WINDOWS\notepad&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;exe &lt;/del&gt;C:\WINDOWS\system32\drivers\etc\hosts&amp;lt;/pre&amp;gt;{{fullurl:Img/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0002&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2011-05-17_1830&lt;/del&gt;.png}}&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# คลิกที่เมนู &lt;/ins&gt;'''&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Open...&lt;/ins&gt;''' &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ใน Menu Bar&amp;lt;br/&amp;gt;&lt;/ins&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;br/&lt;/ins&gt;&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{fullurl&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Img/custom/notepad_file_open&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;png}}&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;คุณจะพบกับโปรแกรม Notepad เปิดขึ้นมา พร้อมกับเปิดไฟล์ '''&lt;/del&gt;hosts&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;''' ซึ่งเป็นไฟล์ที่เราจะต้องแก้ไข&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# ตรงช่อง Filename ให้ copy ค่านี้ไปวาง แล้วกดปุ่ม [Open]&amp;lt;pre&amp;gt;&lt;/ins&gt;C:\WINDOWS\system32\drivers\etc\hosts&amp;lt;/pre&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&amp;lt;br/&lt;/ins&gt;&amp;gt;{{fullurl:Img/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;custom&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;notepad_open_hosts&lt;/ins&gt;.png}}&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;คุณจะได้พบกับไฟล์ &lt;/ins&gt;hosts &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(ไฟล์ที่เราจะต้องแก้ไข) หน้าตาแบบนี้&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;{{fullurl:Img/custom/notepad_example_hosts.png}}&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# วิธีการที่เราจะเติมค่าคอนฟิคของเราลงไปจะเป็นในรูปแบบนี้&amp;lt;pre&amp;gt;IP_ADDRESS	DOMAIN_NAME&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# วิธีการที่เราจะเติมค่าคอนฟิคของเราลงไปจะเป็นในรูปแบบนี้&amp;lt;pre&amp;gt;IP_ADDRESS	DOMAIN_NAME&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# เช่น สมมติว่า เราต้องการตั้งให้ชื่อโดเมน zp12345.com ชี้ไปที่ IP 122.155.55.66 เราก็ใส่คำสั่งเพิ่มเข้าไป 2 บรรทัดดังนี้&amp;lt;pre&amp;gt;122.155.55.66	zp12345.com&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;122.155.55.66	www.zp12345.com&amp;lt;/pre&amp;gt;&amp;lt;br/&amp;gt;(รูปตัวอย่างประกอบ)&amp;lt;br/&amp;gt;{{fullurl:Img/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0002&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2011-05-17_1841_001&lt;/del&gt;.png}}&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# เช่น สมมติว่า เราต้องการตั้งให้ชื่อโดเมน zp12345.com ชี้ไปที่ IP 122.155.55.66 เราก็ใส่คำสั่งเพิ่มเข้าไป 2 บรรทัดดังนี้&amp;lt;pre&amp;gt;122.155.55.66	zp12345.com&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;122.155.55.66	www.zp12345.com&amp;lt;/pre&amp;gt;&amp;lt;br/&amp;gt;(รูปตัวอย่างประกอบ)&amp;lt;br/&amp;gt;{{fullurl:Img/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;custom&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;notepad_hosts_example_config&lt;/ins&gt;.png}}&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# เมื่อใส่ค่าคอนฟิคที่ต้องการแล้ว ก็ให้ Save ครับ&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;{{fullurl:Img/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0002&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2011-05-17_1843&lt;/del&gt;.png}}&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# เมื่อใส่ค่าคอนฟิคที่ต้องการแล้ว ก็ให้ Save ครับ&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;{{fullurl:Img/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;custom&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;notepad_save.png}}&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# คุณสามารถตรวจสอบว่า การตั้งค่าของคุณถูกต้องหรือยัง คอมพิวเตอร์ของคุณมองเห็นโดเมนที่คุณต้องการตั้ง ชี้ไปที่ IP ที่คุณต้องการหรือยัง โดยใช้คำสั่ง ping รันในโปรแกรม Command Prompt ลักษณะนี้ครับ&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;{{fullurl:Img/custom/ping_test&lt;/ins&gt;.png}}&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# เพียงเท่านี้ เวลาเราไปเปิดโดเมนที่เราตั้งที่บราวเซอร์ มันก็จะไปที่ไอพีของโฮสติ้งที่เราตั้งแล้วครับ  และในกรณีที่เราต้องการยกเลิกการตั้งค่านี้ ก็ให้เข้ามาแก้ไฟล์ '''hosts''' แล้วลบบรรทัดที่เราไปเพิ่มเข้าไปออกครับ&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# เพียงเท่านี้ เวลาเราไปเปิดโดเมนที่เราตั้งที่บราวเซอร์ มันก็จะไปที่ไอพีของโฮสติ้งที่เราตั้งแล้วครับ  และในกรณีที่เราต้องการยกเลิกการตั้งค่านี้ ก็ให้เข้ามาแก้ไฟล์ '''hosts''' แล้วลบบรรทัดที่เราไปเพิ่มเข้าไปออกครับ&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://kb.pathosting.co.th/index.php?title=Windows_file_hosts&amp;diff=416&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;Category:Tips สำหรับผู้ใช้ Windows เราสามารถที่จะตั้งค่าในเครื่องได้ ว่าต้...&quot;</title>
		<link rel="alternate" type="text/html" href="https://kb.pathosting.co.th/index.php?title=Windows_file_hosts&amp;diff=416&amp;oldid=prev"/>
		<updated>2011-05-17T11:48:02Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/Category:Tips&quot; title=&quot;Category:Tips&quot;&gt;Category:Tips&lt;/a&gt; สำหรับผู้ใช้ Windows เราสามารถที่จะตั้งค่าในเครื่องได้ ว่าต้...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Tips]]&lt;br /&gt;
สำหรับผู้ใช้ Windows เราสามารถที่จะตั้งค่าในเครื่องได้ ว่าต้องการให้เครื่องเรามองเห็นว่าโดเมนอะไร ชี้ไปที่ IP Address ไหน (จะมีผลเฉพาะกับเครื่องที่มีการตั้งเท่านั้น). ประโยชน์สำหรับการทำแบบนี้มีหลายอย่าง แล้วแต่จะนำไปประยุคใช้ เช่น กรณีที่ยังไม่ได้จดโดเมน แต่อยากจะทดลองใช้งานโฮสติ้งกับโดเมนก่อน ก็สามารถที่จะตั้งให้เครื่องเราเข้าโดเมนที่ต้่องการ แล้วไปที่โฮสติ้งของเราได้, หรือในกรณีที่ย้ายโฮสติ้ง แต่ต้องการตรวจสอบข้อมูลที่ย้ายมาโฮสติ้งใหม่ก่อน ว่าสามารถทำงานได้ถูกต้องหรือยัง ก็จะสามารถเช็คได้ โดยไม่ต้องชี้ค่า Name Servers ของโดเมนเนม มาที่โฮสติ้งใหม่ทันที เพียงแต่ตั้งค่าที่ไฟล์ '''hosts''' ในเครื่องเราเท่านั้น &lt;br /&gt;
&lt;br /&gt;
== วิธีการตั้งค่า ==&lt;br /&gt;
# กดปุ่ม '''Windows''' ที่คีย์บอร์ดค้างไว้ แล้วกดตัว '''R''' ... ( [[File:Windows-key.gif]] + R )&lt;br /&gt;
# จะเป็นการเปิดโปรแกรม '''Run''' ของ Windows ขึ้นมา&lt;br /&gt;
# ให้ copy คำสั่งด้านล่างนี้ ไปวางในช่อง '''&amp;lt;u&amp;gt;O&amp;lt;/u&amp;gt;pen:''' แล้วคลิกปุ่ม '''OK'''&amp;lt;pre&amp;gt;C:\WINDOWS\notepad.exe C:\WINDOWS\system32\drivers\etc\hosts&amp;lt;/pre&amp;gt;{{fullurl:Img/0002/2011-05-17_1830.png}}&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
# คุณจะพบกับโปรแกรม Notepad เปิดขึ้นมา พร้อมกับเปิดไฟล์ '''hosts''' ซึ่งเป็นไฟล์ที่เราจะต้องแก้ไข&lt;br /&gt;
# วิธีการที่เราจะเติมค่าคอนฟิคของเราลงไปจะเป็นในรูปแบบนี้&amp;lt;pre&amp;gt;IP_ADDRESS	DOMAIN_NAME&amp;lt;/pre&amp;gt;&lt;br /&gt;
# เช่น สมมติว่า เราต้องการตั้งให้ชื่อโดเมน zp12345.com ชี้ไปที่ IP 122.155.55.66 เราก็ใส่คำสั่งเพิ่มเข้าไป 2 บรรทัดดังนี้&amp;lt;pre&amp;gt;122.155.55.66	zp12345.com&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;122.155.55.66	www.zp12345.com&amp;lt;/pre&amp;gt;&amp;lt;br/&amp;gt;(รูปตัวอย่างประกอบ)&amp;lt;br/&amp;gt;{{fullurl:Img/0002/2011-05-17_1841_001.png}}&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
# เมื่อใส่ค่าคอนฟิคที่ต้องการแล้ว ก็ให้ Save ครับ&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;{{fullurl:Img/0002/2011-05-17_1843.png}}&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
# เพียงเท่านี้ เวลาเราไปเปิดโดเมนที่เราตั้งที่บราวเซอร์ มันก็จะไปที่ไอพีของโฮสติ้งที่เราตั้งแล้วครับ  และในกรณีที่เราต้องการยกเลิกการตั้งค่านี้ ก็ให้เข้ามาแก้ไฟล์ '''hosts''' แล้วลบบรรทัดที่เราไปเพิ่มเข้าไปออกครับ&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>