HostGator cPanel 2026 — คู่มือฉบับสมบูรณ์
HostGator cPanel 2026 — complete guide to every cPanel feature: File Manager, Email, Databases, Security, Softaculous, and advanced tools.
สารบัญ
cPanel คืออะไรและทำไม HostGator ใช้
cPanel เป็น web hosting control panel ที่ได้รับความนิยมสูงสุดในโลก ใช้งานง่ายผ่าน web browser รวม tools ที่จำเป็นทุกอย่างสำหรับจัดการ web hosting ไม่ว่าจะเป็นไฟล์, email, database, domain, security และอื่นๆ
cPanel is the world's most popular web hosting control panel — browser-based, user-friendly, and containing every necessary tool for managing hosting: files, email, databases, domains, security, and more.
HostGator ใช้ cPanel เป็น control panel หลักสำหรับทุกแผน Shared Hosting ทำให้ผู้ใช้ที่เคยใช้ hosting ที่ใช้ cPanel อื่นๆ ย้ายมาได้ง่ายมาก
HostGator uses cPanel as the primary control panel for all Shared Hosting plans, making migration from other cPanel-based hosting providers seamless.
วิธี Login เข้า cPanel
มีหลายวิธี login cPanel ที่ HostGator:
- ผ่าน Client Portal — login ที่ portal.hostgator.com → My Hosting → Manage → Go to cPanel
- URL โดยตรง — yourdomain.com:2083 (HTTPS) หรือ yourdomain.com:2082 (HTTP)
- Subdomain — cpanel.yourdomain.com
Username และ Password เดียวกับที่ใช้สมัคร HostGator (หรือดูใน welcome email)
cPanel login methods: via Client Portal (portal.hostgator.com → My Hosting → Manage → Go to cPanel), direct URL (yourdomain.com:2083), or subdomain (cpanel.yourdomain.com). Credentials match your HostGator account.
File Manager — จัดการไฟล์ผ่าน Browser
File Manager ช่วยให้จัดการไฟล์และโฟลเดอร์ได้โดยตรงผ่าน browser โดยไม่ต้องใช้ FTP client
Feature ของ File Manager:
- Browse, create, rename, delete ไฟล์และโฟลเดอร์
- Upload ไฟล์จากเครื่องหรือ URL
- แก้ไข text files โดยตรงผ่าน built-in code editor
- ตั้งค่า permissions (chmod) 755, 644 และอื่นๆ
- Compress/Extract ไฟล์ .zip, .tar.gz
- Copy, move ไฟล์ระหว่างโฟลเดอร์
- เปิด hidden files (เช่น .htaccess)
File Manager features: browse/create/rename/delete files and folders, upload from computer or URL, edit text files directly (built-in code editor), set file permissions (chmod), compress/extract zip/tar.gz, copy/move between folders, and toggle hidden file visibility (e.g., .htaccess).
โฟลเดอร์สำคัญใน File Manager:
- public_html — root ของ website หลัก ไฟล์ที่นี่เข้าถึงได้ผ่าน domain
- public_html/subdomain — ไฟล์ subdomain
- mail — email files (ไม่ควรแก้โดยตรง)
- .trash — ไฟล์ที่ลบแล้ว (restore ได้ก่อนที่จะ empty)
Key folders: public_html (website root — accessible via domain), public_html/subdomain (subdomain files), mail (email storage — don't edit directly), .trash (deleted files recoverable before emptying).
Email Management
cPanel มี tools ครบสำหรับจัดการ email ทุกด้าน:
- Email Accounts — สร้าง, แก้ไข, ลบ email accounts และตั้งค่า quota
- Webmail — เข้า Roundcube, Horde, SquirrelMail ผ่าน browser
- Email Forwarders — forward email ไปยัง address อื่น
- Autoresponders — ตั้งค่า out-of-office หรือ auto replies
- Mailing Lists — สร้าง email lists สำหรับ newsletter
- Spam Filters — SpamAssassin configuration
- Email Deliverability — ตรวจสอบและ configure SPF, DKIM, DMARC
- MX Records — config ให้ใช้ email service ภายนอก (Gmail, Zoho)
- Boxtrapper — Anti-spam challenge system
Email tools in cPanel: Email Accounts (create/manage), Webmail (Roundcube/Horde/SquirrelMail), Forwarders, Autoresponders, Mailing Lists, SpamAssassin spam filtering, Email Deliverability (SPF/DKIM/DMARC), MX Records configuration, and Boxtrapper anti-spam.
Databases — MySQL, phpMyAdmin
cPanel มี tools สำหรับจัดการ MySQL databases ครบ:
- MySQL Databases — สร้าง database, สร้าง user, กำหนด privileges
- phpMyAdmin — GUI tool สำหรับ browse, query, backup, import/export database
- MySQL Database Wizard — step-by-step wizard สร้าง database และ user
- Remote MySQL — อนุญาต IP ภายนอก connect MySQL (สำหรับ developer)
Database tools: MySQL Databases (create/manage), phpMyAdmin (GUI for browse/query/backup/import-export), MySQL Wizard (step-by-step setup), and Remote MySQL (allow external IP connections for developers).
วิธีสร้าง Database ใหม่สำหรับ WordPress:
- cPanel → MySQL Databases → สร้าง Database ใหม่ (ชื่อ: wp_mysite)
- สร้าง MySQL User ใหม่ (username + password แข็งแกร่ง)
- Add User to Database → เลือก "All Privileges"
- บันทึก database name, username, password สำหรับใส่ใน wp-config.php
Creating a WordPress database: MySQL Databases → create database (e.g., wp_mysite) → create MySQL user → Add User to Database with All Privileges → save database name, username, password for wp-config.php.
Domains Management
- Addon Domains — เพิ่ม domain ที่สอง สาม ได้ (Baby/Business plan)
- Subdomains — สร้าง blog.domain.com, shop.domain.com ไม่จำกัด
- Domain Aliases / Parked — ชี้ domain อื่นมา website เดิม
- Redirects — ตั้งค่า 301/302 redirect
Domain tools: Addon Domains (add secondary domains — Baby/Business plans), unlimited Subdomains, Domain Aliases/Parked domains, and Redirects (301/302 configuration).
Security Tools
- SSL/TLS — install, manage SSL certificates; Let's Encrypt auto-renew
- IP Blocker — block specific IPs or ranges
- Directory Privacy — password-protect directories
- Hotlink Protection — ป้องกัน bandwidth theft
- ModSecurity — Web Application Firewall (WAF)
- Leech Protection — ป้องกัน password sharing
Security tools: SSL/TLS management (Let's Encrypt auto-renew), IP Blocker, Directory Privacy (password-protect folders), Hotlink Protection (prevent bandwidth theft), ModSecurity WAF, and Leech Protection against password sharing.
Software & Apps — Softaculous
Softaculous ใน cPanel ให้ติดตั้ง applications ยอดนิยมได้ใน 1 คลิก:
- WordPress, Joomla, Drupal, PrestaShop
- phpBB, Moodle, OpenCart
- Magento (e-commerce)
- ทั้งหมดกว่า 400 applications
นอกจากนี้ยังมี PHP Version Manager เพื่อเลือก PHP version สำหรับแต่ละ domain
Softaculous: one-click install of 400+ applications including WordPress, Joomla, Drupal, PrestaShop, OpenCart, Moodle, and more. Also includes PHP Version Manager for per-domain PHP version selection.
Metrics & Logs
- Awstats / Analog Stats — traffic statistics แบบ server-side
- Error Log — PHP errors, 404s และ server errors
- Raw Access Logs — download full server access log
- Disk Usage — ตรวจสอบ disk usage แต่ละโฟลเดอร์
Metrics tools: Awstats/Analog traffic stats (server-side), Error Log (PHP errors, 404s, server errors), Raw Access Logs download, and Disk Usage analyzer per folder.
Advanced Tools
- Cron Jobs — ตั้งค่า scheduled scripts (เช่น WordPress wp-cron)
- Track DNS — ตรวจสอบ DNS propagation
- Network Tools — Ping, Traceroute, DNS lookup จากฝั่ง server
- SSH Access — เปิด/ปิด SSH access และจัดการ SSH keys
Advanced tools: Cron Jobs (schedule scripts like WordPress wp-cron), Track DNS (check propagation), Network Tools (server-side ping/traceroute/DNS lookup), and SSH Access management.
คำถามที่พบบ่อย (FAQ)
cPanel ต่างจาก Plesk อย่างไร? / How does cPanel differ from Plesk?
cPanel เป็น Linux-only, ยอดนิยมในสหรัฐและ shared hosting ทั่วไป Plesk รองรับ Linux+Windows interface ต่างกันแต่ features ใกล้เคียง · cPanel is Linux-only, most popular in US/shared hosting. Plesk supports Linux + Windows, different interface but similar features.
ลืม cPanel Password ทำอย่างไร? / What to do if I forget my cPanel password?
Reset ผ่าน HostGator Client Portal → My Hosting → Manage → Change Password หรือติดต่อ support · Reset via Client Portal → My Hosting → Manage → Change Password, or contact support.
cPanel ใช้ port อะไร? / What ports does cPanel use?
HTTP: port 2082, HTTPS: port 2083 หรือเข้าผ่าน cpanel.yourdomain.com · HTTP: port 2082, HTTPS: port 2083, or access via cpanel.yourdomain.com.
HostGator cPanel Hosting
Full cPanel | 24/7 Support | Free SSL | One-Click WordPress
ดูรายละเอียด HostGator cPanel Hosting →