This article applies to Linux Shared Hosting packages.
To create a custom error page, you will need to do the following:
1
Open Notepad or a similar text editor
2
Copy and paste the following text into your new .htaccess file:
ErrorDocument 400 http://www.mydomain.co.uk/400.html
ErrorDocument 403 http://www.mydomain.co.uk/403.html
ErrorDocument 404 http://www.mydomain.co.uk/404.html
ErrorDocument 500 http://www.mydomain.co.uk/500.html
3
Replace "mywebsite.co.uk" with your own domain name, then save the file with the file name ".htaccess"
4
Make sure that the file type is set to "All Files".
5
Click the "Save" button.
Tip:You will need to upload the error pages, e.g. 404.html
6
Upload the .htaccess file to your webspace.