1. bluehost knowledge base

VPS & Dedicated Hosting: Troubleshooting Error Code 500

Overview

This article will explain some common causes for 500 errors on Dedicated or VPS servers.

 

Configuration Issues

Most often 500 server errors are a result of misconfigured settings or conflicting code in the .htaccess file.

  • If you are using a temporary url (IE 78.64.23.422/~cPanel) then your system is using FastCGI and you need to change the handler to su php in the WHM.
  • Make sure all your files and folders have permissions of 755 or lower. Anything set to 777 or 666 will cause a 500 error.
  • Any miscoded or conflicting entries in the .htaccess file will throw a 500 error as well. This file is usually located in the root for your domain. You can test to see if this is the issue by renaming that file to .htaccess.old and then reloading the page you were getting that error on.