Simply create a 404.shtml page and place it in your public_html directory. Note that for HTTPS you need to place one in your private_html directory as well and all sub-domains also need this in their own directories for it to work for that sub-domain.