> ## Documentation Index
> Fetch the complete documentation index at: https://help.enrolweb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Hosting Troubleshooting

> Diagnose and fix common EnrolWeb hosting issues, including site downtime, slow performance, 500 errors, database issues, and email delivery problems.

When something goes wrong with your website, start here. This guide covers the most common EnrolWeb hosting issues and how to resolve them quickly.

## My website is down

<Steps>
  <Step title="Check DNS">
    Confirm your domain points to EnrolWeb hosting. Use [whatsmydns.net](https://whatsmydns.net) to verify.
  </Step>

  <Step title="Check the status page">
    Visit the EnrolWeb status page to see if there's a known outage.
  </Step>

  <Step title="Verify hosting is active">
    Sign in to your dashboard and confirm your plan is active and not suspended.
  </Step>

  <Step title="Check disk usage">
    A full disk can take your site offline. Free up space in cPanel > **Disk Usage**.
  </Step>
</Steps>

## My site is slow

<CardGroup cols={2}>
  <Card title="Enable caching" icon="bolt">
    Use a caching plugin or a CDN to speed up page loads.
  </Card>

  <Card title="Optimize images" icon="image">
    Compress large images and serve them in modern formats.
  </Card>

  <Card title="Update PHP version" icon="code">
    Use the latest supported PHP version in cPanel.
  </Card>

  <Card title="Check for heavy plugins" icon="puzzle">
    Deactivate plugins one by one to find slow ones.
  </Card>
</CardGroup>

## 500 Internal Server Error

<Steps>
  <Step title="Check the error log">
    In cPanel, open **Errors** to see recent server errors.
  </Step>

  <Step title="Review .htaccess">
    A broken `.htaccess` rule is a common cause. Rename it temporarily to test.
  </Step>

  <Step title="Verify file permissions">
    Files should be 644 and folders 755. Fix from File Manager if needed.
  </Step>

  <Step title="Check PHP memory limit">
    Increase the PHP memory limit in **Select PHP Version > Options**.
  </Step>
</Steps>

## Database connection errors

<Steps>
  <Step title="Verify credentials">
    Check your database name, username, and password in your app's config file.
  </Step>

  <Step title="Confirm the database exists">
    Open **MySQL Databases** in cPanel and confirm the database is listed.
  </Step>

  <Step title="Check user privileges">
    Make sure the database user has full privileges on the database.
  </Step>
</Steps>

## Email delivery issues

<Steps>
  <Step title="Verify MX records">
    Confirm MX records point to EnrolWeb mail servers.
  </Step>

  <Step title="Check SPF, DKIM, DMARC">
    Missing authentication records cause deliverability problems.
  </Step>

  <Step title="Check the mail queue">
    In cPanel, open **Mail Queue** to see pending or failed messages.
  </Step>
</Steps>

<Warning>
  If your site is still down after these steps, contact [support@enrolweb.com](mailto:support@enrolweb.com) with the domain name, timestamps, and any error messages.
</Warning>
