How to create custom error pages in DirectAdmin?

In order to create the custom error page, you need to login at the Direct Admin and scroll down.
  1. You will find the link for Custom Error Pages. Click on it.
  2. This will be the error page that others can see and it will appear and 404 Not Found once enabled.
  3. All you need to click on 404.shtml link. Paste the HTML code of the page for which you want to enable the custom error page.
  4. Scroll down and then click on the Preview HTML link. This will show how the error page will look like.
  5. Once you are confirmed, click on the save button to activate the error page.