How to create custom error pages in Direct Admin

How to create custom error pages in Direct Admin

This demo assumes you’ve already logged in to Direct Admin

Now let’s learn how to create custom error pages in our hosting account

Scroll down…

Click the Custom Error Pages link

Click the 404.shtml link here

This page lists all the error pages you can edit from Direct Admin. Let’s go ahead and edit the 404 Not Found error page, which displays automatically if someone attempts to visit a page in your website that doesn’t exist

Paste the HTML code of the page you want displayed, here in this text area

Scroll down…

Before saving the file, let’s take a look to see if it looks ok… click Preview Html

Let’s return to the edit page…. close this window

This shows what the 404 Error Page will look like

Now let’s save this page by clicking here

The 404.shtml page is now listed in the File Manager, here

Click the Home icon here

This is the end of the tutorial. You now know how to setup and modify your custom error pages from within Direct Admin

Updated on September 7, 2018

Related Articles