image description
Web hosting FAQ & Knowledge base

Knowledge Base Articles

Do you allow custom error pages?

Yes, you can set up your own custom error pages, by using .htaccess file.

When you create your custom error page and save it to public_html as 404.html, use the code below in your .htaccess:

ErrorDocument 404 /404.html

This code can be adopted to other error pages by changing the numbers.

Go back
Hostinger logo
Limited time offer. From $1.99/month
:
:
:
Get started
keyboard_arrow_up Swipe Up
Hostinger logo

Limited time offer

80% OFF

From $1.99/month

Get Hostinger’s Fast & Secure Web Hosting with an SSL Certificate for FREE!

:
:
:
Get started now
Close