By default, Dreamhost uses a file called “missing.html” as the error document.
That error message means, “not only could I not find asdf.html, I also couldn’t find missing.html!”
There are two ways to fix this:
- Create a file called missing.html for your custom 404 page;
- Tell the server not to look for a custom 404 page by adding this line to .htaccess:
ErrorDocument 404 “Not Found”