Error Pages
Customize 404, 500, and other HTTP error pages for your website using the Error Pages editor in hPanel on Hostinger or ErrorDocument rules in .htaccess.
Customize the pages visitors see on errors like 404 and 500.
Common HTTP error codes
400
Bad Request
Server couldn't understand the request
401
Unauthorized
Authentication required
403
Forbidden
Access denied
404
Not Found
Page or file doesn't exist
500
Internal Server Error
Server-side error
The one you'll actually want to customize is 404.
Customize in hPanel
Open your website dashboard.
Go to Website → Error Pages in the sidebar.
Select the error code (e.g.,
404) to open its editor.Edit the HTML.
Click Save.
Customize via .htaccess
In public_html/.htaccess:
Create the corresponding HTML files in public_html.
Example 404 page
/public_html/404.html:
In .htaccess:
Tips for a good 404 page
Include site navigation or a search bar.
Link back to the homepage.
Keep it friendly.
Optionally surface popular or recent content.
Last updated: July 22, 2026
Last updated
Was this helpful?