If you want a custom error page to show when your website visitor’s try to access a nonexistent resource create a new resource named 404.html

You can put whatever you want in this file! Keep in mind that 404 pages will only work if your index is index.html. 404 errors won’t work if your index is 200.html

Click the link below to learn more about having 200.html as your index.

How do I redirect all requests to the same file?