กำลังแสดงผล 1 ถึง 4 จากทั้งหมด 4

หัวข้อ: ตอบคำถาม บ่าวคนเดิมๆ

  1. #1

    ตอบคำถาม บ่าวคนเดิมๆ

    คำถามนี้ ถูกถามทิ้งเอาไว้ผ่านทาง MSN บ่าวกันต์ เวลาประมาณ 17: 18 นาที เห็นจะได้

    www.Baanmaha.com says:
    ทำอย่างไรให้สามารถเรียกเว็บของเราจากวงแลนได้
    โดยใช้ชื่อเว็บของเราเช่น wcs.hopto.org ฯลฯ
    ไม่ใช่เรียกจาก localhost มีความจำเป็นอย่างยิ่ง

    ตอบ:
    ไม่เห็นจะยากเลยครับ เพียงแค่คุณไปกำหนด default gateway และ DNS Server ที่เครื่องลูกให้ชี้มาที่ Server แค่นั้นเอง
    อ่านแล้ว งง ใช่ม๊า งั้นมาดูรูปภาพประกอบล่ะกัน

    ตอบคำถาม บ่าวคนเดิมๆ

    ตอบคำถาม บ่าวคนเดิมๆ



  2. #2

    Re: ตอบคำถาม บ่าวคนเดิมๆ

    หรือมีอีกวิธีหนึ่งที่ง่ายกว่าวิธีข้างบน ก็คือ

    1. Start
    2. Run...
    3. พิมพ์ C:\WINDOWS\system32\drivers\etc\hosts ดังรูปภาพ
    Re: ตอบคำถาม บ่าวคนเดิมๆ

    4. ให้เปิดไฟล์ hosts ด้วยโปรแกรม TextEditor ดังภาพ
    Re: ตอบคำถาม บ่าวคนเดิมๆ

    5. ไฟล์ต้นฉบับเดิมๆ ที่ยังไม่มีการแก้ไขจะได้ดังนี้
    โค้ด:
    # 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
    ให้เพิ่มเติมดังนี้
    โค้ด:
    # 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
    192.168.100.254	        kundream.ath.cx
    192.168.100.254	        chaksumat.ath.cx
    192.168.100.254	        www.chaksumat.ath.cx
    IP: 192.168.100.254 = IP ของเครื่อง Webserver ครับผม

    Re: ตอบคำถาม บ่าวคนเดิมๆ


  3. #3
    นักการภารโรง สัญลักษณ์ของ บ่าวคนเดิม
    วันที่สมัคร
    Jan 2006
    ที่อยู่
    Amphoe Det Udom
    กระทู้
    3,148

    Re: ตอบคำถาม บ่าวคนเดิมๆ

    ..เอ ผมลองแล้วมันคือ วิ่งเข้าหน้าล้อกอิน Router ท่าน ...ใน FreeBSD บ่ต้องกำหนดหยังติ
    ขอบพระคุณสมาชิกและทีมงานที่เคารพรักทุกท่าน

  4. #4
    นักการภารโรง สัญลักษณ์ของ บ่าวคนเดิม
    วันที่สมัคร
    Jan 2006
    ที่อยู่
    Amphoe Det Udom
    กระทู้
    3,148

    Re: ตอบคำถาม บ่าวคนเดิมๆ

    Re: ตอบคำถาม บ่าวคนเดิมๆ..ได้แล้วท่าน ต้องกำหนด Preferred DNS server => IP FreeBSD Server ด้วย... 8)
    ขอบพระคุณสมาชิกและทีมงานที่เคารพรักทุกท่าน

Tags for this Thread

กฎการส่งข้อความ

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •