Step by step instructions on how to create your own custom 404 error page when using Joomla 4.
https://hallhome.us/joomla/43-j4-404-page