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.

To create a custom error page, you will need to do the following:

If purchased after July 2020

Step 1 of 8

Start by logging in to your Control Panel and scroll down to ‘Web Hosting’. From there, select ‘Manage’.

Manage Web Hosting

Step 2 of 8

On the next page, select ‘Manage’ for the account you wish to use.

Web Hosting Manage

Step 3 of 8

Select the three-dot icon for the package you want to edit. From there, choose ‘Settings’ from the drop-down menu that appears.

cPanel Admin

Step 4 of 8

On your dashboard, select the cPanel Admin button that appears above Settings.

Dashboard

Step 5 of 8

Select Error Pages under the Advanced section.
Select Error Pages

Step 6 of 8

For Step 1 – Select Domain to Manage Error Pages, choose the domain you wish to use.

Select

Step 7 of 8

For Step 2 – Edit Error Pages for: (your domain), select 404 (Not Found).

Edit error pages

Step 8 of 8

If you have any HTML knowledge, make the necessary changes here. Once done, select Save to confirm your changes.

Click Save

If purchased before July 2020

Step 1 of 6

Open Notepad or a similar text editor

 

Step 2 of 6

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
Step 3 of 6

Replace “mywebsite.co.uk” with your own domain name, then save the file with the file name “.htaccess”

Step 4 of 6

Make sure that the file type is set to “All Files”.

Step 5 of 6

Click the “Save” button.

Tip:You will need to upload the error pages, e.g. 404.html

Step 6 of 6

Upload the .htaccess file to your webspace.