How to Fix a 500 Internal Server Error
A 500 error means the server hit a problem it couldn’t describe to the browser. The real cause is almost always recorded in your error log.
Step 1: check the error log
In DirectAdmin, open System Info & Files › Site Summary / Statistics / Logs (or the domain’s Error Log link) and look at the most recent lines. They usually name the file and line causing the problem.
Common causes and fixes
- Broken .htaccess: rename
.htaccessto.htaccess-old. If the site loads, the file contains a bad rule. - Wrong permissions: folders should be
755and files644. Files set to777are often refused. - PHP version: an app may not support the selected version. Switch PHP version and test.
- PHP memory limit: raise
memory_limitin PHP settings. - Faulty plugin (WordPress): rename the
wp-content/pluginsfolder to disable all plugins, then re-enable them one at a time.
Still stuck? Send us the exact time the error happened and your domain name at support@crowncityhost.com. We can check server-side logs for you.
Frequently asked questions
Does a 500 error affect my Google rankings?
A short outage usually has no lasting effect. Errors that last for days can lead to pages being dropped from search results, so fix them quickly.