How to view website error and access logs

    October 17, 2019

    Two methods of viewing error and access logs, although SiteWorx is only available for non-cloud accounts.

    Using SiteWorx (non-cloud only)

    1. Log in to your SiteWorx account.

    2. On the main menu, click Administration > Logs.

    3. If necessary, select the desired log group from the Select Log Group drop-down list, then click Continue.

    4. To download the log file, click Download.

    Using SSH

    ATTENTION: If you use a Nexcess non-cloud service, you must first enable SSH before proceeding.

    Apache error and transfer logs are stored differently in cluster environments.

    Issue the following commands to view error and transfer logs from the server using SSH:

    less /home/username/var/domain.com/logs/error.log
    less /home/username/var/domain.com/logs/transfer.log

    You can also issue the following to view the PHP-FPM error logs:

    less /home/username/var/php-fpm/error.log


    For 24-hour assistance any day of the year, contact our support team by email or through your Client Portal.

    Was this article helpful?

    Send feedback

    Can’t find what you’re looking for?

    Our award-winning customer care team is here for you.

    Contact Support