Step 1: Make a 404.html file in the public folder <!DOCTYPE html><html><head><meta charset="utf-8"><title>Page not found</title><script type="text/javascript">var pathSegmentsToKeep = 1;var l = window.location;l.replace(l.protocol + '//' + l.hostname...