How do I make a 404 error page
in your <virtualhost> apache directive put the next line
ErrorDocument 404 /error404.html
or whatever your error page is named if we talking about apache...