Most hosts will tell you how to create a custom error page. You just have to search in their help section. Godaddy lets you specify it in the control panel, yahoo simply tells you to rename the page you want to be your error page error.html
I think it depends on the host you use so I would just check with them.