pico hosting ผู้ให้บริการ Web hosting จดโดเมนราคาประหยัด  

บทความ: แก้ไขไฟล์ hosts เพื่อเข้าเว็บในกรณีที่ DNS ยังไม่อัพเดท

กรณีที่เราเปลี่ยน name server ของโดเมนของเรามักจะมีปัญหาหนึ่งตามมานั่นคือ DNS ของ internet ที่เราใช้อยู่บางครั้งมักจะอัพเดทช้า ทำให้เข้าเว็บไม่ได้ ถ้าเข้าแบบ ip address แทนได้ก็ดีไป แต่ script บางตัวต้องเข้าแบบโดเมนเท่านั้นจึงจะเข้าได้ สำหรับใครที่เจอปัญหาแบบนี้ไม่ต้องกังวลไปครับ เรายังมีวิธีแก้ไข
สำหรับวิธีแก้ไขให้เราเข้าไปแก้ไขที่ไฟล์ C:\wondows\system32\drivers\etc\hosts โดยเพิ่ม IP Address ของ name server ที่เราใช้อยู่เข้าไป การแก้ไขทำได้โดยคลิ๊กที่ Start->Run แล้วพิมพ์ notepad %SystemRoot%\system32\drivers\etc\hosts แล้วกด Enter

# 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.246.46	picohosting.com
61.19.246.46	www.picohosting.com

ในตัวอย่างด้านบนเราจะเพิ่มโดเมน picohosting.com เข้าไปเพื่อให้ระบบรู้ว่าเมื่อเราเรียกเว็บ picohosting.com ให้ไปเรียก IP address 61.19.246.46 วิธีนี้ก็จะช่วยแก้ปัญหาย้าย name server แล้วแต่ DNS ยังไม่อัพเดททำให้เข้าเว็บไม่ได้ครับ

แต่ถ้าใครใช้ internet ผ่าน proxy server วิธีนี้ก็ยังแก้ไม่ได้นะครับ ต้องเข้าแบบ IP address แทน

ใครที่นำบทความไปเผยแพร่ที่เว็บไซต์อื่น กรุณาทำลิ้งค์กลับมายังบทความต้นฉบับด้วยนะครับ