DirectAdmin: ดูสถิติเว็บไซต์ (Bandwidth, Visitors, AWStats)
สถิติที่ DirectAdmin มีให้
- Bandwidth Usage — ปริมาณ data ที่ใช้ในเดือนปัจจุบัน
- Disk Usage — พื้นที่ดิสก์ที่ใช้
- Visitor Stats — จำนวน hits / unique visitors
- AWStats / Webalizer — รายงานเชิงลึก ผู้ชมจากประเทศไหน ใช้ browser อะไร
ดู Bandwidth & Disk
หน้าแรกของ DirectAdmin (Dashboard) จะแสดงตัวเลขรวม
รายละเอียดต่อโดเมน
Account Manager → Domain Setup → ดูคอลัมน์ Bandwidth / Disk ของแต่ละโดเมน
เปิด AWStats
- ไปที่ System Info & Files → Site Summary / Statistics / Logs
- เลือกโดเมน
- กดที่ AWStats
ในนี้จะแสดง:
- จำนวนผู้เยี่ยมชมรายวัน / รายเดือน
- หน้าที่เข้าชมมากที่สุด
- คำค้นหา (Search keyphrases)
- ประเทศ / ภาษาของผู้เยี่ยมชม
- Browser / OS / Screen size
- HTTP status codes (200 / 404 / 500)
ดู Access Log / Error Log ดิบ
หาก AWStats ยังไม่ตอบโจทย์ — ดู log ดิบ:
- System Info & Files → Site Summary / Statistics / Logs
- โดเมน → ดูที่ Apache Logs
ไฟล์ที่สำคัญ:
access.log— การ request ทุก ๆ ครั้งerror.log— error ของ Apache / PHP
⚠️ Log จะถูก rotate ทุกวัน — log เก่าจะถูก gzip เป็น .gz
ดู PHP Error Log ของเว็บไซต์
หากเว็บแสดง 500 Internal Server Error — ดู log:
/home/username/domains/yourdomain.com/logs/error.log
หรือเปิดผ่าน File Manager
Reset Bandwidth Counter (admin only)
ผู้ใช้ทั่วไป ไม่สามารถ reset ได้ — Bandwidth จะ reset อัตโนมัติทุกวันที่ 1 ของเดือน
หากต้องเพิ่มโควต้า bandwidth — ติดต่อทีมงาน PitlokDD.Com
บทความนี้มีประโยชน์ไหม?