How to create a 5XX-error page on a site
When server 5XX-errors appear?
To fix all that, it's better to rollback all the changes. To do this, you need a log file or long webmaster's memory.
Other reasons for 5XX-errors
If you use free hosting, in most cases, you won't be able to view the logs. To solve the problem, you will have to restore the site or find out the factors that caused the crash.
What are server 5XX-errors?
- 500.0 — internal server error.
- 500.11 — application is shutting down on the webserver.
- 500.12 — application is busy restarting on the webserver.
- 500.13 — webserver is too busy.
- 500.15 — direct requests for Global.asax are not allowed.
- 500.19 — configuration data is invalid.
- 500.21 — module not recognized.
- 500.22 — an ASP.NET httpModules configuration does not apply in Managed Pipeline mode.
- 500.23 — an ASP.NET httpHandlers configuration does not apply in Managed Pipeline mode.
- 500.50 — a rewrite error occurred during RQ_BEGIN_REQUEST notification handling.
- 500.51 — a rewrite error occurred during GL_PRE_BEGIN_REQUEST notification handling.
- 500.52 — a rewrite error occurred during RQ_SEND_RESPONSE notification handling.
- 500.53 — a rewrite error occurred during RQ_RELEASE_REQUEST_STATE notification handling.
- 500.100 — internal ASP error.
- 503 — service unavailable.
- 504 — gateway Timeout error.
Why should be created a template for these error pages?
To avoid it, we recommend creating error page templates.
How to adjust the error page?
Search for it in the site root directory. If there isn't any, create it. This very file will also help to point out directory access rights. Prescribe there the error codes for which you want to open special pages:
How to decorate the 5XX-error page
How to create error page in cPanel
- choose the page that you want to edit:
- use the template code or write it yourself;
- save the changes;
- enter the "File Manager" on the panel home page;
- open public_html folder;
- choose .htaccess and click "Edit";
- write ErrorDocument 500.shtml and save changes.
While decorating the page, think of the content carefully. It can be useful and explaining what happened or be entertaining — including beautiful pictures, animation. Less often, people use interactive type — integrated mini-games and apps.
This article is a part of Serpstat's Checklist tool
|Try Checklist now|
Speed up your search marketing growth with Serpstat!
Keyword and backlink opportunities, competitors' online strategy, daily rankings and SEO-related issues.
A pack of tools for reducing your time on SEO tasks.
Discover More SEO Tools
Tools for Keywords
Keywords Research Tools – uncover untapped potential in your niche
SERP SEO Tool – the ultimate solution for website optimization
Keyword Difficulty Tool
Stay ahead of the competition and dominate your niche with our keywords difficulty tool
Check Page for SEO
On-page SEO checker – identify technical issues, optimize and drive more traffic to your website
Cases, life hacks, researches, and useful articles
Don’t you have time to follow the news? No worries! Our editor will choose articles that will definitely help you with your work. Join our cozy community :)