Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am running cPanel/WHM on Apache server and have just installed an SSL certificate. I'm given the 'successfully installed' message when installing the SSL certificate, however when trying to visit the domain using https, the 500 Internal Server Error message appears:

The server encountered an internal error or misconfiguration and was unable to complete your request.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

In which folder should I place files, or what should I do so that public_html becomes the default folder of a website on SSL?

share|improve this question

1 Answer 1

You need to check the apache error.log. I think that the SSL part is misconfigured. You must have a private key, generated usually when you create the certificate request. The certificate and the key should NOT inside your DocumentRoot. For SSL the site need to be able to start a listener on port 443. You need to restart apache after you configure SSL. If the site is misconfigured, then it will not start - check the syntax before restarting apache.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.