How to create a Custom Error Pages in Direct Admin Panel

If you are using Standard Theme on your DirectAdmin please click the following dropdown, change to Refreshed theme as shown here

In Standard Theme.

Click here 1. Login to your Direct Admin Panel. 2. Switch to the user and select the Custom Error Pages under Advanced Features. 3. Click Edit corresponding to the 404 Not Found. 4. Paste the HTML code of the page you want to be displayed, here in this text area. 6. Now let’s save this page by clicking here. 7. The 404.shtml page is now listed in the File Manager.


In Refreshed Theme.

  1. Login to your Direct Admin Panel.

  2. Switch to the user and select the Custom Error Pages under Advanced Features.

    image

  3. Click Edit corresponding to the 404 Not Found.

    image

  4. Paste the HTML code of the page you want to be displayed, here in this text area.

    image

  5. Now let’s save this page by clicking here.

    image

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

    image