Skip to main content

How to Troubleshoot a 503 Service Unavailable Error on a Website

A 503 Service Unavailable error indicates that the web server is currently unable to handle the request. This typically occurs because the server is overloaded, undergoing maintenance, or experiencing a script execution failure.

A 503 Service Unavailable error indicates that the web server is currently unable to handle the request. This typically occurs because the server is overloaded, undergoing maintenance, or experiencing a script execution failure.

Before you begin

You will need:

  • Access to your website's hosting control panel (such as cPanel or Windows Control Panel).

  • Access to your website's administrative dashboard (if applicable, such as WordPress).

  • The ability to check your website's status from a different device or network.

Check the server's current status

A 503 error is often temporary. Before making configuration changes, determine if the issue is a momentary spike in traffic or a persistent server problem.

  1. Attempt to load the website from a different web browser or a mobile device using cellular data.

  2. Wait 5–10 minutes and refresh the page.

  3. If the site remains unavailable for an extended period, proceed to the next step.

Identify the cause of the script failure

If the site is only failing for your specific website and not others on the same server, the issue is likely caused by a script or plugin.

  1. Check for a "Maintenance Mode" flag. If you are using a CMS like WordPress, a failed update can leave the site in maintenance mode.

  2. Disable plugins or modules. If you can access your admin dashboard, deactivate all plugins. If the site loads, reactivate them one by one to identify the culprit.

  3. Check for a script timeout. If a specific script is taking too long to execute, it may cause the server to drop the connection.

Check for resource exhaustion

A 503 error can occur if your account has hit its allocated limits for CPU, memory, or entry processes.

  1. Log in to your hosting control panel.

  2. Locate the Resource Usage or Statistics section.

  3. Check if your account is hitting limits such as Entry Processes, Physical Memory, or CPU Usage.

  4. If you are hitting limits, you may need to optimize your site's code or upgrade your hosting plan.

Verify the web server configuration

In some cases, the web server (like Apache or Nginx) may be misconfigured or unable to pass the request to the backend.

  1. Check if your site's configuration file (e.g., .htaccess or web.config) contains any recent changes.

  2. If you recently modified these files, revert them to the previous version.

  3. Ensure that the correct ports are open and that the server is listening for requests on the appropriate port.

Contact Hostek support

If you have verified that your site is not hitting resource limits and the error persists after checking your configuration, the issue may be at the server level.

To help Hostek support investigate, provide the following information:

  • The specific URL(s) that are returning the 503 error.

  • The time and date the error first occurred.

  • A screenshot of the error page.

  • Any recent changes made to your website, such as new plugin installations or configuration edits.

Did this answer your question?