There are two ways to properly install the extension.
In case you use Composer to manage dependencies of your TYPO3 project, you can just issue the following Composer command in your project root directory.
composer require colorcube/auto404
Download and install the extension with the extension manager module.