วิธีการใช้งานและตั้งค่า Cloudflare ให้ทำงานร่วมกับ Hosting
Back to articles

วิธีการใช้งานและตั้งค่า Cloudflare ให้ทำงานร่วมกับ Hosting

วิธีการใช้งานและตั้งค่า Cloudflare ให้ทำงานร่วมกับ Hosting

Plesk Updated: February 19, 2026

การตั้งค่า Cloudflare ให้ทำงานร่วมกับ Hosting ช่วยเพิ่มความปลอดภัย ความเร็ว และประสิทธิภาพของเว็บไซต์ของคุณ บทความนี้จะแนะนำวิธีการตั้งค่าแบบทีละขั้นตอน พร้อมภาพประกอบเพื่อช่วยให้เข้าใจง่ายยิ่งขึ้น


ขั้นตอนการเชื่อมต่อ Cloudflare กับ Plesk

1. สมัครหรือเข้าสู่ระบบ Cloudflare

  1. ไปที่เว็บไซต์ Cloudflare

  2. สร้างบัญชีใหม่หรือลงชื่อเข้าใช้บัญชีของคุณ
image
image

2. เพิ่มเว็บไซต์ใน Cloudflare

  1. เมื่อเข้าสู่ระบบ ให้กดปุ่ม "Add a Site"

  2. ใส่ชื่อโดเมนของคุณ เช่น example.com แล้วกด "Add site"

  3. เลือกแผนบริการ (ฟรีหรือเสียเงิน) ตามความต้องการ และคลิก "Continue"
image
image
image
image

3. เปลี่ยน Nameservers เป็นของ Cloudflare

  1. Cloudflare จะแสดง Nameservers ที่ต้องใช้
ตัวอย่าง:
- NS1.DRITE.IN.TH
- NS2.DRITE.IN.TH
  1. ไปที่ผู้ให้บริการโดเมนของคุณ (เช่น Namecheap, GoDaddy) แล้วแก้ไข Nameservers เป็นค่าของ Cloudflare

  2. รอประมาณ 24-48 ชั่วโมงเพื่อให้ DNS เปลี่ยนแปลงเสร็จสมบูรณ์
image
image

4. ตั้งค่า DNS บน Cloudflare

  1. Cloudflare จะตรวจสอบ DNS ของเว็บไซต์คุณโดยอัตโนมัติ

  2. ตรวจสอบว่าข้อมูล DNS ตรงกับข้อมูลใน Plesk Hosting
- ประเภท A: IP ของเซิร์ฟเวอร์ (Plesk Hosting)
- ประเภท CNAME: ชื่อลิงก์ที่จำเป็น
  1. เปิดการใช้งาน (เปิดไอคอนเมฆสีส้ม) สำหรับเรคอร์ดที่ต้องการผ่าน Cloudflare Proxy

  2. กด "Continue"
image
image

5. ตั้งค่า SSL/TLS ใน Cloudflare

  1. เข้าเมนู SSL/TLS ใน Cloudflare

  2. เลือก "Full" หรือ "Full (Strict)" เพื่อความปลอดภัยสูงสุด

  3. ตรวจสอบว่า Plesk Hosting เปิดใช้งานใบรับรอง SSL อยู่แล้ว
image
image

6. ทดสอบเว็บไซต์

หลังจากการตั้งค่าทั้งหมด:
  1. เข้าเว็บไซต์ของคุณผ่านเบราว์เซอร์ว่าใช้งานได้หรือไม่


D

DriteStudio | ไดรท์สตูดิโอ

Cloud, VPS, Hosting and Colocation provider in Thailand

Operated by Craft Intertech (Thailand) Co., Ltd.

Manage your cookie settings

We use different types of cookies to optimize your experience on our website. Click on the categories below to learn more and customize your preferences. Note that blocking some types of cookies may impact your experience.

Necessary Cookies

These cookies are essential for the website to function properly. They enable basic functions like page navigation and access to secure areas.

View cookies used
  • Session cookies (session management)
  • Security cookies (CSRF protection)
Always On

Functional Cookies

These cookies enable personalized features like language preferences and theme settings. Without these, some features may not work properly.

View cookies used
  • lang (language preference)
  • theme (dark/light mode)

Analytics Cookies

These cookies help us understand how visitors interact with our website by collecting and reporting information anonymously.

View cookies used
  • _ga (Google Analytics)
  • _gid (Google Analytics)

Marketing Cookies

These cookies are used to track visitors across websites to display relevant advertisements based on your interests.

View cookies used
  • Advertising cookies
  • Remarketing pixels

Privacy Policy