Hosting สำหรับผู้เริ่มต้น ไม่รู้ IT ก็ทำเว็บได้ง่ายๆ
Web hosting for beginners: choose the right hosting, set up domain, install WordPress, and launch your first website.
สารบัญ
Hosting คืออะไร อธิบายแบบง่ายๆ
ลองนึกภาพเว็บไซต์เหมือนร้านค้า Domain คือป้ายชื่อร้าน Hosting คือพื้นที่เช่าในห้างที่ให้ลูกค้าเข้ามาได้ ไฟล์ HTML รูปภาพ และ Database ของเว็บไซต์ถูกเก็บบน Server ของ Hosting ทุกครั้งที่มีคนพิมพ์ Domain ของคุณ เว็บ Browser จะดึงข้อมูลจาก Server นั้นมาแสดง
Think of a website like a shop: your domain is the shop sign, hosting is the rented space in a mall where customers can visit. Your HTML files, images, and database are stored on the hosting server. Every time someone types your domain, their browser fetches data from that server to display.
- Domain: ชื่อที่พิมพ์เพื่อเข้าเว็บ เช่น google.com
- Hosting: Server ที่เก็บไฟล์เว็บของคุณ
- Database: เก็บ Post Page Comment ของ WordPress
- ไม่มี Hosting = เว็บไม่มีที่อยู่บน Internet
- Hosting ราคาเริ่ม 100-300 บาท/เดือน สำหรับ Shared
ประเภท Hosting ที่ควรรู้
Shared Hosting: แชร์ Server กับคนอื่น ราคาถูกที่สุด เหมาะผู้เริ่มต้น VPS (Virtual Private Server): Resource ส่วนตัว เร็วกว่า เหมาะเว็บที่ Traffic เริ่มสูง Cloud Hosting: ยืดหยุ่น เพิ่มลด Resource ได้ Managed WordPress: Optimize สำหรับ WordPress โดยเฉพาะ
Shared Hosting: shares server with others, cheapest, good for beginners. VPS: private resources, faster, suitable for growing traffic. Cloud Hosting: flexible, scalable resources. Managed WordPress: optimized specifically for WordPress.
- Shared Hosting: เริ่มต้นดีที่สุด ราคาถูก
- VPS: เหมาะเมื่อ Traffic > 10,000 Visit/เดือน
- Cloud: ยืดหยุ่น แต่ราคาผันผวนตาม Usage
- Managed WordPress: ง่าย แต่ราคาสูงกว่า
- แนะนำ Beginner: เริ่ม Shared Hosting ก่อน
วิธีเลือก Hosting สำหรับผู้เริ่มต้น
ผู้เริ่มต้นควรเลือก: Shared Hosting ที่มี cPanel/DirectAdmin มี Softaculous ติดตั้ง WordPress ได้ใน 1 Click Uptime 99.9%+ Support ภาษาไทย (ถ้าต้องการ) ราคา 100-300 บาท/เดือน มี SSL ฟรี (Let's Encrypt) ไม่ต้องเลือก VPS ตั้งแต่แรกถ้าไม่รู้เรื่อง Server
Beginners should choose: Shared Hosting with cPanel/DirectAdmin, Softaculous for one-click WordPress install, 99.9%+ uptime, Thai support if needed, price 100-300 THB/month, free SSL (Let's Encrypt). Don't start with VPS if you don't know servers.
- cPanel/DirectAdmin: ใช้ง่าย Manage เว็บได้
- Softaculous: ติดตั้ง WordPress ใน 1 Click
- SSL ฟรี: Let's Encrypt ต้องมีให้
- Uptime 99.9%+: เว็บจะออนไลน์สม่ำเสมอ
- Support ไทย: ถ้าต้องการถามปัญหาเป็นภาษาไทย
จด Domain ทำอย่างไร
1. คิดชื่อ Domain ที่ต้องการ (สั้น จำง่าย ไม่มีขีด) 2. ตรวจว่าว่างหรือไม่ที่ Registrar 3. เลือก .com (ทั่วโลก) หรือ .co.th (ไทย) 4. สร้าง Account และชำระเงิน 5. ตั้ง Auto-Renew เพื่อไม่ให้ Domain หมดอายุ 6. ชี้ DNS ไปที่ Hosting
Steps to register domain: 1. Choose a short, memorable name without hyphens 2. Check availability at registrar 3. Choose .com (global) or .co.th (Thai) 4. Create account and pay 5. Enable auto-renew to prevent expiry 6. Point DNS to hosting.
- Namecheap/Porkbun: .com ราคาถูกที่สุด
- AsiaGB / Ruk-Com: .co.th ง่ายและมี Support ไทย
- ตั้ง Auto-Renew: ทันทีหลังจด ไม่ลืม
- ราคา .com: $8-15/ปี ราคา .co.th: 500-700 บาท/ปี
- WHOIS Privacy: เปิดเสมอ ซ่อนข้อมูลส่วนตัว
ติดตั้ง WordPress ขั้นตอนง่ายๆ
ใน cPanel → Softaculous Apps Installer → WordPress → Install กรอก Domain และ Admin Username/Password ไม่ต้องใช้ "admin" เป็น Username ตั้งชื่อ Database อะไรก็ได้ คลิก Install รอ 1-2 นาที เสร็จแล้วมี Link เข้า WP Admin เก็บ Username/Password ไว้ให้ดี
In cPanel → Softaculous Apps Installer → WordPress → Install. Fill in domain and admin username/password (don't use "admin" as username). Set any database name. Click Install, wait 1-2 minutes. Done — you'll receive an admin link. Save your username/password securely.
- cPanel → Softaculous → WordPress → Install
- Admin Username: ห้ามใช้ admin (Security Risk)
- Password: ใช้ Strong Password ครบ 12+ ตัว
- เสร็จแล้ว: yoursite.com/wp-admin เข้า Dashboard
- ลบ Default Post/Page: Hello World และ Sample Page
ตั้งค่า DNS ชี้ Domain มา Hosting
หลังจดโดเมนแล้ว ต้องชี้ DNS ไปที่ Hosting วิธีที่ง่ายที่สุดคือ เปลี่ยน Nameserver (NS Record) ของ Domain ให้ชี้ไปที่ Nameserver ของ Hosting เช่น ns1.hosting.com และ ns2.hosting.com ใช้เวลา DNS Propagation 1-48 ชั่วโมง
After registering domain, point DNS to hosting. Easiest way: change domain Nameserver (NS Record) to point to hosting nameservers (e.g., ns1.hosting.com and ns2.hosting.com). DNS propagation takes 1-48 hours.
- Hosting จะให้ NS Record 2 ตัว: ns1 และ ns2
- เปลี่ยน NS Record ที่ Registrar ที่จด Domain
- Propagation: 1-48 ชั่วโมง
- ตรวจสอบ: whatsmydns.net ดู Propagate แล้วหรือยัง
- ระหว่าง Propagate: เว็บอาจเข้าได้บ้างไม่ได้บ้าง
ตั้ง Email บน Domain ของตัวเอง
Email บน Domain เช่น [email protected] สร้างได้ใน cPanel → Email Accounts → Create กรอก Email ชื่อที่ต้องการ Password แล้ว Create เข้าผ่าน Webmail ที่ yourdomain.com/webmail หรือตั้งค่าใน Outlook/Gmail ด้วย IMAP/SMTP
Create domain email like [email protected] in cPanel → Email Accounts → Create. Enter email name and password, then Create. Access via Webmail at yourdomain.com/webmail or configure in Outlook/Gmail using IMAP/SMTP.
- cPanel → Email Accounts → Create
- Webmail: yourdomain.com/webmail
- Outlook: ตั้งค่า IMAP/SMTP ของ Hosting
- Gmail: Settings → Accounts → Add another email
- ตั้ง SPF + DKIM ป้องกัน Email ตกใน Spam
เริ่มใช้ WordPress ครั้งแรก
หลังติดตั้งแล้ว เข้า Dashboard ที่ yoursite.com/wp-admin เลือก Theme ที่ชอบใน Appearance → Themes ติดตั้ง Plugin ที่จำเป็น (SEO, Security, Backup) สร้าง Page สำคัญ: Home About Contact Privacy Policy เริ่มเขียน Post แรก
After installation, access Dashboard at yoursite.com/wp-admin. Choose theme in Appearance → Themes. Install necessary plugins (SEO, Security, Backup). Create important pages: Home, About, Contact, Privacy Policy. Write your first post.
- Dashboard: yoursite.com/wp-admin
- Theme: เลือกจาก Appearance → Themes → Add New
- Plugin: SEO (Rank Math) + Security (Wordfence) + Backup (UpdraftPlus)
- Pages: Home / About / Contact / Privacy Policy
- Post: เริ่มเขียน Content แรก
เคล็ดลับสำหรับผู้เริ่มต้นสร้างเว็บ
เริ่มง่ายๆ ด้วย Shared Hosting แล้วค่อย Upgrade ใช้ Theme ฟรีจาก WordPress.org ก่อน ไม่ต้องซื้อ Premium ทันที Backup เสมอก่อนแก้ไขอะไร เรียนรู้ WordPress ผ่าน YouTube มีภาษาไทยเยอะมาก ถ้าติดปัญหา Search Google ก่อนเสมอ Community ใหญ่มีคำตอบทุกเรื่อง
Start simple with shared hosting and upgrade later. Use free themes from WordPress.org first, no need to buy premium immediately. Always backup before making changes. Learn WordPress through YouTube (many Thai tutorials available). Search Google first when stuck — the large community has answers to everything.
- เริ่ม Shared: อย่าซื้อ VPS ตั้งแต่แรก
- Theme ฟรี: Astra, GeneratePress, OceanWP ดีมาก
- Backup ก่อนแก้: UpdraftPlus ฟรีทำได้
- YouTube ไทย: สอน WordPress ครบมาก
- WordPress Community: Forum ช่วยได้เสมอ