Cara Mengetahui Access Log dan Error Log melalui cPanel

Terakhir diupdate: 17 Maret 2025

Kamu pengen tahu siapa saja yang sudah mengunjungi website kamu? atau kamu sedang mengalami error pada website kamu, tapi kamu bingung letak errornya dimana? Nah, sekarang kita simak yuk tutorialnya! Eh, tapi kita simak dulu yuk informasi penting berikut ini:

Sekilas Info Access Log

Sekilas info kali ini tentang tutorial bagaimana cara mengetahui Access Log dan Error Log dari Website melalui cPanel sehingga dapat mengetahui pengunjung website dan access log serta error log website Sobat. Untuk mengetahui pengunjung website, Sobat bisa menggunakan access log di cpanel Sobat. Untuk membuka access log ini sendiri ada 2 cara.

  1. Menggunakan menu Raw Access di cpanel
  2. Membuka file access log dari file manager hosting Sobat

Gimana, Sob sekarang kita langsung aja bahas tutorialnya berikut ini:

Menggunakan menu Raw Access di cpanel

STEP 1: Untuk melakukan cara pertama, Sobat bisa membuka menu Raw Access di cpanel Sobat, Contoh menu-nya adalah sebagai berikut

Raw

Masuk Raw Access

Raw

Halaman Raw Access

Setelah Sobat buka menu tersebut, Sobat akan melihat list domain yang ada di menu tersebut.

STEP 2: Selanjutnya Sobat lakukan adalah memilih domain apa yang ingin Sobat lihat access log-nya dan Sobat klik domain tersebut di menu Raw Access.

Raw

Pilih Domain Kamu

STEP 3: Setelah Sobat klik domain tersebut, browser Sobat akan melakukan download file kompres, Seperti .zip atau .rar

Extract File Rar

STEP 4: Setelah Sobat download file tersebut, Sobat bisa buka file kompres tersebut di dalamnya, akan ada nama domain yang ingin Sobat lihat access log-nya, Selanjutnya, Sobat bisa buka file yang ada file kompres(.zip, .rar, .tar.gz, dll) menggunakan notepad atau text editor Contoh isi dari file tersebut seperti berikut

File Notepad

Dari baris paling atas sendiri, terdapat : 66.249.71.29 - - - [23/Jan/2018:11:14:00 +0700] "GET /robots.txt HTTP/1.1" 404 1148 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)” Dari keterangan tersebut IP : 66.249.71.29 telah mengakses website Sobat di tanggal dan jam : 23/Jan/2018:11:14:00 +0700 dan pengakses website Sobat dari google.com “google.com/bot” disana terdapat “bot” dari keterangan tersebut pengunjung website Sobat bukan manusia tetapi “bot”.

2 Jenis Bot

Ada 2 jenis bot untuk pengakses website ini.

Yang pertama, bot untuk melakukan flooding, brute-force website Sobat dengan kata lain bot ini berakibat negative untuk website Sobat.

Yang kedua, bot yang digunakan Search engine bot ini biasa di gunakan seperti google dimana fungsinya untuk marketing website Sobat.

Dan efek dari bot ini adalah positive. Untuk lebih detailnya Sobat bisa cek di link berikut.

File Manager

File Manager

Menggunakan file access log dari file manager hosting Sobat

STEP 1: Untuk melakukan pengecekan access log dari file manager cpanel, pertama yang perlu Sobat lakukan adalah masuk ke menu file manager cpanel Sobat.

File Manager

File Manager

STEP 2: Setelah Sobat masuk ke menu file manager.

Sobat bisa masuk ke home directory hosting Sobat dimana Sobat perlu keluar dari seluruh folder yang ada di home directory Sobat. Untuk mengetahuinya “home” dan “up one level” tidak bisa di klik

Masuk Folder Logs

  1. Setelah Sobat masuk ke home directory Sobat bisa masuk ke folder “logs” di home directory hosting Sobat
  2. Di sana Sobat akan melihat list domain dan subdomain yang terdaftar seperti di menu Raw Access di cpanel
  3. Sobat bisa download salah satu file domain .gz(file kompres seperti .zip, .rar) setelah itu Sobat bisa mengikuti cara di atas mulai nomor 3

Untuk website yang mengalami error 500 internal error.

Hal ini dikarenakan error reporting di menu select php version Sobat disable

Atau ada konfigurasi error reporting di htaccess atau php.ini Sobat yang disable.

Jika Sobat tidak mengerti cara melakukan perubahan tersebut, Sobat perlu mengetahui access log dan error log yang digunakan untuk menyimpan error yang muncul di website.

Untuk melihat error log ada 2 cara :

  1. Menggunakan menu errors di cpanel
  2. Membuka file manager dengan membuka file error_log

Menggunakan menu errors di cpanel

STEP 1: Untuk menggunakan cara pertama, Sobat bisa cari menu dengan nama “errors” contoh menu tersebut adalah sebagai berikut

Error

Klik Error

STEP 2: Setelah Sobat membuka menu tersebut ada 2 kemungkinan result yang muncul, halaman tidak menampilkan error apapun dan ada isi-nya seperti berikut

Log Error

Membuka file error_log melalui file manager

STEP 1: Untuk cara kedua Sobat perlu mencari menu “file manager”, contoh menu tersebut sebagai berikut

File Managaer

STEP 2: Setelah itu Sobat perlu mengetahui error website and berada di path mana, juka error berada di domain utama. Maka error_log akan muncul di public_html juka error berada di subdomain atau folder di website. Maka Sobat perlu mengetahui filder di hosting Sobat untuk subdomain atau struktur folder di website Sobat. Gambar berikut menunjukan error_log yang berada pada public_html

Error Log


STEP 3: Setelah itu Sobat dapat mendownload file error_log dengan cara mengklik file tersebut Dan Sobat dapat membukanya menggunakan text editor (notepad, notepad++, sublime, dsb). Gambar berikut menunjukan file error_log yang merepresentasikan access log dan error log.

Untuk contoh error di error_log atau di errors di cpanel sebagai berikut : [29-Aug-2016 11:17:48 UTC] PHP Warning: fclose() expects parameter 1 to be resource, null given in /home/andhikamw/public_html/test.php on line 13

Dari keterangan error tersebut,

  • pada tanggal “[29-Aug-2016 11:17:48 UTC]” terdapat error
  • Error tersebut statusnya adalah warning, “PHP Warning”
  • Keterangan error di script “fclose() expects parameter 1 to be resource, null given”
  • Error berada di file “/home/andhikamw/public_html/test.php”
  • Error berada di baris “13”

Gimana, Sob? sekarang kamu sudah bisa cek error dan access log website kamu ya, simak terus Tips Hosting di halaman tutorial Jagoan Hosting Indonesia ya, jika ada bagian dari tutorial yang tidak ditemukan, kamu bisa menghubungi teman-teman di Jagoan Hosting supaya bisa dibantu lebih lanjut melalui Live Chat atau fitur Open Tiket ya!

Related Posts
Tips Mengatasi Error Undefined Index / Variable

Pengantar Halo sobat Jagoan! di tutorial kali ini kita bakalan membahas permasalahan Error Undefined Index/Variable. Pasti sekarang kamu lagi main-main Read more

Cara Membuat CSR dan PrivateKey untuk Mengaktifkan SSL Certificate

Tahu nggak, Sob! untuk dapat mengaktifkan layanan SSL murah, ada beberapa persyaratan yang harus disiapkan terlebih dahulu, diantaranya adalah CSR Read more

Tutorial Mendeteksi Script Jahat pada Website Sebelum Publish

Hai, Sob kamu pasti tentu tidak ingin jika website kamu dibobol oleh hacker, terutama jika kamu seorang programmer dan webmaster. Read more

Tutorial Install Virus Scanner Clam AV pada cPanel

Kamu ngerasa insecure karena belum install antivirus? Install antivirus emang penting, Sob untuk menjaga performa server kamu. Nah, kamu bisa Read more

12 Comments

  1. Fern on Maret 12, 2025 at 2:35 pm

    This web site certainly has all of the information I needed about this subject and
    didn’t know who to ask.

    Here is my homepage cocina



  2. Hermelinda on Maret 16, 2025 at 9:36 pm

    https://digi189sa.z1.web.core.windows.net/research/digi189sa-(112).html
    This mom of the bride wore a white tunic and skirt
    for a boho-chic ensemble.



  3. Erma on Maret 17, 2025 at 6:26 am

    I’m gone to tell my little brother, that he should also visit this
    website on regular basis to obtain updated from most up-to-date
    news update.

    Here is my blog post: sexy



  4. リンナイの株価は暴落しましたか on Maret 17, 2025 at 8:58 am

    It is a bit odd to assume that waves intersecting at completely different angles would draw so many people, however really, when was the last time you noticed nature create squares in water?

    http://www.joapcw-chance.xyz/blog/1740673435509



  5. バブみちゃん 占い on Maret 17, 2025 at 11:57 am

    After the attack on Pearl Harbor, Defense Bonds turned referred to as Conflict Bonds.

    https://answerpail.com/index.php/user/crimefoot8



  6. 京都添乗員付きツアー on Maret 17, 2025 at 4:32 pm

    The agency started using architecture as a source of model identity, starting with the Renzo Piano-designed avant-garde wind tunnel that opened in 1998.

    https://app.roll20.net/users/15762535/telegram-zhong-wen-ban-xia-zai



  7. チャムス 岡山 on Maret 17, 2025 at 4:48 pm

    You do it because you’re taking pride in your work.

    http://www.ugkm-apply.xyz/blog/1740902479955



  8. Carson on Maret 17, 2025 at 8:12 pm

    https://je-tall-sf-marketing-211.b-cdn.net/research/je-tall-sf-marketing-(206).html
    Here’s one other probably the greatest mother-of-the-bride clothes you
    should buy online.



  9. 成年コミック 掲示板 on Maret 18, 2025 at 4:46 am

    The appropriate Reverend George Michael Crennan, of Elizabeth Bay, New South Wales.

    http://www.who-pydbj.xyz/blog/1740741801594



  10. Elise on Maret 18, 2025 at 6:31 pm

    https://marketing-57.tor1.digitaloceanspaces.com/research/marketing-(131).html
    So, if your kids are hosting a black tie affair, make sure to wear a floor-length gown—preferably in a
    neutral tone .



  11. Blair on Maret 19, 2025 at 12:18 am

    The term “spot reduction” refers to the misperception which
    you can lose fat in a single spot by exercising that a part of your
    body. Many dieters discover that stomach fats is probably GlucoBerry The Blood Sugar Breakthrough most tough fat to lose.

    Anyone can now discover a product that can restore a person’s normal body mass index, suppress the appetite, protection from obesity-associated
    illnesses, and disorders. If you’ll find them easily, then your cat might be at a standard weight.
    A weight-loss weight loss plan means chopping
    your cat’s calories and then sustaining the correct number of calories to keep him at his decrease weight.
    Because of this dietitians advocate you it no less than two serving of vegetables a day
    to maintain a healthy way of life and burn extra stomach
    fats. Also, your store in a fridge and drink in a day.that’s how lemon water burn belly fat.
    That is favorable and recent to drink increasingly more
    calories. The quicker you go, the more calories you’ll burn, but
    be sure to focus on good form over velocity. Just a few
    minutes of chasing after a catnip mouse, for example, can make a difference.

    According to the Sleep Foundation, researchers have found that getting even an extra hour of sleep can make a big difference.



  12. 金沢大学 同レベル on Maret 19, 2025 at 5:32 am

    Every every now and then I have what I think of as an out-of-the-physique expertise at a movie,” wrote Roger Ebert in 1977, continuing that “in a curious sense, the occasions in the film appear actual, and that i appear to be part of them.

    http://www.poor-qvtwx.xyz/blog/1740673479340



Leave a Comment




🚀 Hosting Terbaik + Unlimited Resources | GRATIS Optimasi Website dan Support WA 24/7
Scroll To Top