Moved the file error.php into the folder /errors
Renamed the file error.php to 5xx.php
Added an HTTP 404 page, moved the HTTP 5xx page