Sentora Support Forums

Full Version: Custom Error Pages/Static Pages
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The static pages to customize are in : /sentora/panel/etc/static/ OR /zpanel/panel/etc/static/ depending on your installation.

The error pages will be copied to your client's hosting space when a new account is created.

There are a few other pages also: Parked Domains, Bandwidth Exceeded, Storage Space Exceeded, etc.

After customizing them, I suggest backing them up to another folder so that when you do an upgrade in the future you can just replace them instead of having to remake them all over again
thanks ^_^
may i ask is that include the
index.html aslo.
(11-20-2015, 02:21 AM)bioenergy Wrote: [ -> ]may i ask is that include the
index.html aslo.

Yes
may i ask where should i edit the index.html
-
error pages  is in
/etc/sentora/panel/etc/static/errorpages
-
how about the index.html

Did you view any of the files in the static folder? They are pretty much self explanatory.

http://docs.sentora.org/?node=97

To answer your question: /etc/sentora/panel/etc/static/pages/welcome.html
(11-21-2015, 04:37 AM)TGates Wrote: [ -> ]Did you view any of the files in the static folder? They are pretty much self explanatory.

http://docs.sentora.org/?node=97

To answer your question: /etc/sentora/panel/etc/static/pages/welcome.html

Hi,

Have another question linked to the error pages.

I have two websites hosted on a digital ocean droplet in a subdomain folder.

From one of the websites subdomain, I removed the _errorpages folder in past.

Now I have reinstated the folder along with the html files for each error page, however when I try to test a 404 error it does not land on the custom html page I created, it lands on a page which says 

---------------------------
Not Found
The requested URL /sdasd was not found on this server.

Apache Server at subdomain.domain.com Port 443

--------------------

How can I force the server to pick the relevant error document from _errorpages folder.

Please note, it works perfectly fine on the other website, where the _errorpages folder was always there.

Should I restart my apache server or something? Greatly appreciate your suggestion.

Regards,
Kumar
In .htaccess you can set:

ErrorDocument 404 /new404.html

https://www.digitalocean.com/community/t...-in-apache

I think you lost error document defaults when you setup the SSL as this is related to SSL domain.

M B
Awesome! Thanks, it helped!