<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>{Memo8&#124;Tool Kits} For Web Developer &#187; DNS</title>
	<atom:link href="http://www.memo8.com/toolkits/archives/tag/dns/feed" rel="self" type="application/rss+xml" />
	<link>http://www.memo8.com/toolkits</link>
	<description>ไว้เก็บ Script ไอเดีย ทิป เทคนิคต่างๆ สำหรับงานพัฒนาเว็บไซต์ทั้ง Design และ Programming</description>
	<lastBuildDate>Thu, 02 Sep 2010 08:23:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>แก้ไขไฟล์ hosts เพื่อเข้าเว็บโดยตรง เมื่อ DNS ยังไม่ Update</title>
		<link>http://www.memo8.com/toolkits/archives/123</link>
		<comments>http://www.memo8.com/toolkits/archives/123#comments</comments>
		<pubDate>Thu, 21 May 2009 13:43:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tip Computer]]></category>
		<category><![CDATA[Tip Dev]]></category>
		<category><![CDATA[DNS]]></category>

		<guid isPermaLink="false">http://www.memo8.com/toolkits/archives/123</guid>
		<description><![CDATA[ หลายครั้งที่สร้าง Domain ใหม่หรือเปลี่ยนชื่อ Domain แล้วลูกค้าไม่สามารถเข้าเว็บได้เพราะ DNS ของ internet ที่ลูกค้าใช้อยู่นั้น Update ช้า  สำหรับใครที่เจอปัญหานี้แนะนำให้ช้วิธี แก้ไขไฟล์ hosts โดยให้เข้าไปที่
C:\WINDOWS\system32\drivers\etc
จากนั้นมองหาไฟล์ที่ชื่อ hosts ให้เปิดด้วย notepad ก็ได้ครับ เมื่อเปิดมาก็ให้เพิ่ม IP Address ของเว็บ เคาะเว้นวรรคแล้วตามด้วยชื่อเว็บ จากนั้นก็ Save  เป็นอันเสร็จพิธี ตัวอย่างด้านล่างเช่น เป็นการเพิ่มชื่อเว็บ  www.memo8.com ชี้มา IP 61.19.251.193 จะมีหน้าตาประมาณนี้

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file [...]]]></description>
			<content:encoded><![CDATA[<p> หลายครั้งที่สร้าง Domain ใหม่หรือเปลี่ยนชื่อ Domain แล้วลูกค้าไม่สามารถเข้าเว็บได้เพราะ <strong>DNS ของ internet ที่ลูกค้าใช้อยู่นั้น Update ช้า </strong> สำหรับใครที่เจอปัญหานี้แนะนำให้ช้วิธี แก้ไขไฟล์ hosts โดยให้เข้าไปที่</p>
<p><strong>C:\WINDOWS\system32\drivers\etc</strong></p>
<p>จากนั้นมองหาไฟล์ที่ชื่อ <strong>hosts</strong> ให้เปิดด้วย notepad ก็ได้ครับ เมื่อเปิดมาก็ให้เพิ่ม IP Address ของเว็บ เคาะเว้นวรรคแล้วตามด้วยชื่อเว็บ จากนั้นก็ Save  เป็นอันเสร็จพิธี ตัวอย่างด้านล่างเช่น เป็นการเพิ่มชื่อเว็บ  www.memo8.com ชี้มา IP 61.19.251.193 จะมีหน้าตาประมาณนี้</p>
<pre class="code">
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

127.0.0.1       localhost

61.19.251.193 www.memo8.com</pre>
<p>และนี่ก็คือการบอกเครื่องของเราว่าชื่อเว็บนี้ชี้ไปที่ IP นี้นะ พอเราเริ่มพิมพ์ชื่อเว็บเคาะ enter ป๊าบมันก็จะมาอ่านที่ไฟล์ host นี้ก่อนพอมันเห็น IP ที่บรรทัดเดียวกับชื่อเว็บปุ๊บมันก็วิ่งไปหา IP นั้นเลยโดยที่ไม่ต้องไปถาม DNS Server อีกแถมเร็วอีกตะหาก (ประมาณว่ารู้ทางไปแล้วโว้ย ไม่ง้อ DNS Server 555+)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.memo8.com/toolkits/archives/123/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
