1.Login to your Direct Admin Panel.
2.Click the Custom Error Pages link.
3.Click the 404.shtml link here.
4.Paste the HTML code of the page you want 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.