1. Log in to DirectAdmin.

  2. Navigate to Advanced Features > Custom Error Pages.

  3. Select the domain you want to configure.

  4. Edit the error page you want (e.g., 404.shtml).

  5. Save your changes.