I’m trying to specify a custom 404 error page for a specific sub-domain. In the past, adding this to the .htaccess file took care of that:
ErrorDocument 404 /404.php
But I can’t seem to get it to work with Hestia. I can load the page fine at domain.com/404.php but the errorDocument isn’t working.
Any suggestions?
Thanks.
yunli
August 7, 2025, 3:02am
2
His distribution is located at the following position.
/home/user/web/1domain.com/document_errors
/home/user/web/2domain.com/document_errors
/home/user/web/3domain.com/document_errors
/home/user/web/4domain.com/document_errors
/home/user/web/5domain.com/document_errors
Please change the corresponding files of the subdomains that need to be modified.
If you need to customize the original template, please change the configuration of the following path! Note: It will be overwritten in the next upgrade. Please make a backup!
/usr/local/hestia/data/templates/web/skel/document_errors
eris
August 7, 2025, 5:48am
3
There is an setting in the settings to disable this feature…
system
Closed
September 6, 2025, 5:49am
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.