# Site Not Loading: Fixing 403, 404, 500 and 503 Errors

https://www.voligen.com/en/knowledgebase/article/fix-403-404-500-503-errors

The three-digit code in your browser tells you where the problem is. This guide explains the 403, 404, 500 and 503 errors you are most likely to see on cPanel hosting, and how to fix them yourself.

![Four errors, four causes: access, address, code and resources.](https://www.voligen.com/templates/website/Voligen/assets/images/kb/site-hatalari-403-404-500-503.svg)

## Quick checks first

- Open the page in a private window or clear your browser cache; an old error page may be cached.
- Try another network, such as mobile data. If the site only fails for you, the cause may be your local network or DNS cache.
- Think about your last change: a new plugin, a theme update, an `.htaccess` edit or a PHP version switch causes most errors.
- The **Metrics > Errors** tool in cPanel shows the latest server error entries. Start there for every error below.

## 403 Forbidden: access denied

The server received the request but refused to show the content. Common causes:

### File and folder permissions

Folders should normally be `755` and files `644`. Check them in **File Manager** by right-clicking an item and choosing **Change Permissions**. Overly open permissions such as `777` can also be blocked by the server and return 403.

### Missing index file

If `public_html` has no `index.php` or `index.html` and directory listing is off, the server returns 403. Make sure your files are in the right folder.

### .htaccess rules

Lines such as `Deny from all` or IP restrictions can lock the site. Rename the file to something like `.htaccess-backup` and reload the page.

## 404 Not Found: page missing

- **Wrong folder:** files for the main domain belong in `public_html`. For addon domains and subdomains, check the document root set in cPanel.
- **Letter case:** on Linux servers `About.html` and `about.html` are different files.
- **Permalinks:** if only the WordPress home page loads, go to **Settings > Permalinks** and click **Save Changes** without changing anything. This refreshes the rewrite rules.

## 500 Internal Server Error

A generic error whose cause is almost always in the site's code or configuration.

1. **Disable .htaccess.** Rename the file. If the site loads, a line in that file is the problem.
2. **Read the error log.** **Metrics > Errors** or the `error_log` file in the site folder names the file and line that failed.
3. **Check the PHP version.** An old plugin may not work with a newer PHP version. See our PHP settings guide for how to switch.
4. **Disable the latest plugin.** If you cannot reach the WordPress dashboard, renaming the plugin's folder under `wp-content/plugins` disables it.

> ****Tip****
> 
> Download a copy of a file before renaming or editing it, so you can return to the original once you find the cause.

## 503 Service Unavailable

On shared hosting, a 503 usually means the account has reached its resource limits. CloudLinux temporarily refuses new requests when the number of concurrent processes (Entry Processes) or the memory limit is full.

- Check the **Resource Usage** page in cPanel for recent limit hits.
- Use a caching plugin (LiteSpeed Cache on LiteSpeed servers) so fewer visits need to run PHP.
- Bad bot traffic or heavy cron jobs can also fill the limits.
- If a WordPress update stopped halfway, a leftover `.maintenance` file in the root folder can cause this; just delete it.

Our CloudLinux resource limits guide explains each limit in detail.

## Summary table

| Code | Most likely cause | First step |
| --- | --- | --- |
| 403 | Permissions, missing index, .htaccess block | Set 755/644, check the index file |
| 404 | Wrong folder or URL, permalinks | Check the path and letter case |
| 500 | Code error, broken .htaccess, PHP mismatch | Read error_log |
| 503 | Resource limit, maintenance mode | Open Resource Usage |

## Frequently asked questions

### Is the error only on my side?

Open the site from another network or device. If it only fails for you, it may be your browser cache, local DNS or an IP block.

### Where is the error_log file?

Usually in the folder where the error happened, most often `public_html`. It is not a hidden file, so you will see it in File Manager directly.

### The 503 error keeps coming back. What should I do?

If caching and optimisation do not help, your traffic may have outgrown the plan. Consider moving to a plan with more resources.

If the error persists, open a ticket from the client area with the error code, the URL and the approximate time. Need more resources? See our [hosting plans](https://www.voligen.com/linux-web-hosting).
