Hello Christian,
I want to suggest you have a look at the server logs.
/var/log/apache2/error.log
There are a few reasons behind getting 500 internal server error. like,
- A permissions error
- some faults in outsider plugins or themes
- Your php memory limits surpassed
- Broken or defiled. htaccess record
You can try some methods as below.
The permission errors with a file on the server can be liable for 500 internal server errors. There are a few suggestions for consents with regards to folder or file authorizations in WordPress ( If the site is based on wordpress)
You can see your record consent with the FTP client.
files should be 644(-rw-r-r) or 640.
directories should be 755 (drwxr-xr-x) or 750.
No directories should be given 777, even upload directories.
Hardening: wp-config.php can also be set to 440 or 400 to prevent other users on the server from reading this.
There are Some third-party themes, plugins, additional items, or recently activated softwares may be causing this issue. You can decide this by deactivating or uninstalling these.
Suppose you have a wordpress site, go to plugins, go to installed plugins. Furthermore, deactivate the first plugin. Then, at that point, assuming the mistake settled, it was causing it.
If it's not too much trouble, guarantee that your php arrangement is designed accurately. For instance, it very well may be connected with php timeout. Make timeout rules or errors dealing in the script to determine the issue due to wrong permissions on a file that utilizes content, as php or CGI script. It won't permit a script to run. So take a look at those permissions and ensure that you have set them appropriately and accurately on your server.
You are supposed to look at the code for your site's .htaccess record, which will assist in managing how long resources should be stored in the browser's cashe. What's more, you can attempt to alter the file to fix this error.
This document will be basically situated in the public.html directory. And, the server will conceal this file from the view of course.
Ensure your new software is installed appropriately and accurately.
However, I think you are getting a 404 error. There are likewise explanations behind it getting a 404 error. like,
- Mistyping URL
- a page is removed.
- a page's directory is removed.
- Moving a whole site
- Not adding 301 redirects.
To solve this issue, you can do some things. First, your request found a 404 error in the server.
Or default document root is not set correctly.
You should verify and rewrite the rules in the .htaccess file.
Unable to access my website sometimes
Collapse
Unconfigured Ad Widget
Collapse
X
-
Unable to access my website sometimes
Hello,
Sometimes I can not access my website due to an error that shows The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error. More information about this error may be available in the server error log.
Can I figure out what this is and how I get rid of it?
Appreciate your interest in advance!Tags: None
-
Leave a comment: