How do I create custom error pages?
This FAQ will help you to create custom error pages on your hosting package
123 Reg Hosting Packages allow you to create your own error pages for use when your website creates an error. They can be jovial, informative or a mix of both.
The following steps apply to Web Hosting plans purchased after July 2020 and Premium Hosting plans purchased after August 2020:
Start by logging in to your Control Panel and scroll down to ‘Web Hosting’. From there, select Manage.
On the next page, select Manage for the account you wish to use.
Select the three-dot icon for the package you want to edit. From there, choose Settings from the drop-down menu that appears.
On your dashboard, select the cPanel Admin button that appears above Settings.
Select Error Pages under the Advanced section.
For Step 1 – Select Domain to Manage Error Pages, choose the domain you wish to use.
For Step 2 – Edit Error Pages for: (your domain), select 404 (Not Found).
If you have any HTML knowledge, make the necessary changes here. Once done, select Save to confirm your changes.
The following steps apply to Web Hosting plans purchased before July 2020 and Premium Hosting plans purchased before August 2020:
Open Notepad or a similar text editor
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
Replace “mywebsite.co.uk” with your own domain name, then save the file with the file name “.htaccess”
Make sure that the file type is set to “All Files”.
Click the “Save” button.
Tip:You will need to upload the error pages, e.g. 404.html
Upload the .htaccess file to your webspace.