Skip to main content

Log 404 Errors

Comments

9 comments

  • cPanelLauren
    Hello, 404 errors on specific pages would be logged to the access logs at /etc/apache2/domlogs/
    0
  • SUGamingNetwork
    That directory doesn't exist. I already tried to look there :-\
    0
  • cPanelLauren
    What version of cPanel/WHM are you running? Are you accessing shell with the root/privileged user? All cPanel servers by default have this directory.
    0
  • SUGamingNetwork
    What version of cPanel/WHM are you running? Are you accessing shell with the root/privileged user? All cPanel servers by default have this directory.

    As listed above, cPanel/WHM 84.0.8 on a fresh install of CentOS 7 (just installed today)
    0
  • quietFinn
    Hello, 404 errors on specific pages would be logged to the access logs at /etc/apache2/domlogs/

    Isn't it /etc/apache2/logs/domlogs/
    ?
    0
  • cPanelLauren
    Hi @quietFinn You're correct, I always forget it got moved into logs.
    0
  • SUGamingNetwork
    Ok i see it now. However it's still not stating what it couldn't find :( Oh well.
    0
  • SUGamingNetwork
    Sorry, I've been fighting for two days trying to figure out why I'm just getting "The requested URL was not found on this server" but the 404 errors are not being logged and I have no clue how to find out what my site is requesting so I can fix it.
    0
  • cPanelLauren
    You might also check the access logs at /etc/apache2/logs/access_log - if they're reaching the hostname those would be logged here.
    0

Please sign in to leave a comment.