if i doesn't have the root user.can't access the server by SSH. only hava a user account of WHM. is there a way to custom 404 page for all accounts by WHM?i want to do it on server wide by WHM.note to all the accounts on the server not a single user. thank you.
If you don't have root access to the server, the only way I know to do it is to create a file in each account and then set it in the .htaccess to cause that page to load for errors. You could do this by default for new accounts using the cPanel Skeleton folder to provision the files with new accounts.
I believe you are a reseller account holder and dont have root access of the server, and if this is the way and you would like to put custom 404 pages for all of your account just create cpanel skeleton dir in the primary account of your WHM, and put all 404 pages and .htaccess or, call your other site URL with .htaccess and customized your clients 404 error pages, so when you will create any account those files will be auto copied under your clients cpanels and they got custom 404 pages...
Your customer can also remove them and put their own 404 pages thereafter, its simple.