Way I do it.
1. Create subdirectory errors in public_html
2. Create my error pages, 404.html (or 404.php ), 500.html, etc and put them in public_html/errors
3. Open the .htaccess file in public_html
4. Add lines like
ErrorDocument 403 /errors/403.html
ErrorDocument 500 /errors/500.html...