Back to website
Login
Home
Login
Back to website
There was a problem loading the comments.
How do I set up 404/500 error pages?
Support Portal
»
Knowledgebase
» Viewing Article
Print
18/05/2018 9:33 AM
Web Hosting
Website Extras
This article covers one way to set up 404/500 error pages, but there are many additional methods available.
Create a .htaccess file within your public_html directory, containing the following two lines:
ErrorDocument 404 "/404.html"
ErrorDocument 500 "/500.html"
These directives send 404 and 500 errors the corresponding .html pages within your webspace. You will need to manually create the .html pages, and configure them to suit your requirements.
Share via
Did you find this article useful?
Related Articles
My script gives an error that the MAX_JOIN_SIZE in MySQL is set too low. How do I increase it?
I made some changes to my site, but when I view it still has the old pages, why is that?
My CGI/Perl scripts are failing with error 500 (Internal Server Error)
Categories
19
General
37
FAQ
11
Email Client
26
Reseller Management
36
Reseller
8
Udemy & Courses
9
Getting Started Guides
61
Email
8
Eco Web Hosting Control Panel
36
Your Account
4
Transfer/Renewal
7
Domain Control Panel
14
Hosting Control Panel
20
MySQL
21
Databases
12
Glossary
4
Registration
20
Domains
6
Admin
12
DNS
21
FTP
102
Web Hosting
11
SSH
8
SSL
10
Greenhost Configuration
13
Website Extras
16
Wordpress
41
Troubleshooting
14
Mailbox Admin
2
Windows
13
Web Builder
6
Managed WordPress
4
Python
23
PHP
9
HTML
7
CGI
2
ASP
37
Scripting
14
Webmail
25
Troubleshooting
3
MS-SQL
© Eco Web Hosting
English