In your cPanel, you have the "Advanced" section and, in it, Error pages. Click it, choose your domain if you have many, then choose the type of error page you wish to create. Then make your code and you're done!
It's available on all of x10Hosting's plans as far as I know.