Sentora Support Forums
Custom Error Pages/Static Pages - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Public Support Forums v2.x.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=66)
+--- Forum: Commuity Guides & How-To's v2.x.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=69)
+--- Thread: Custom Error Pages/Static Pages (/showthread.php?tid=490)



Custom Error Pages/Static Pages - TGates - 10-22-2014

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


RE: [HOW-TO] Custom Error Pages/Static Pages - SHADOW - 05-27-2015

thanks ^_^


RE: [HOW-TO] Custom Error Pages/Static Pages - bioenergy - 11-20-2015

may i ask is that include the
index.html aslo.


RE: [HOW-TO] Custom Error Pages/Static Pages - TGates - 11-20-2015

(11-20-2015, 02:21 AM)bioenergy Wrote: may i ask is that include the
index.html aslo.

Yes


RE: [HOW-TO] Custom Error Pages/Static Pages - bioenergy - 11-20-2015

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




RE: [HOW-TO] Custom Error Pages/Static Pages - TGates - 11-21-2015

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


RE: [HOW-TO] Custom Error Pages/Static Pages - Kumar - 05-10-2016

(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


RE: [HOW-TO] Custom Error Pages/Static Pages - Me.B - 05-11-2016

In .htaccess you can set:

ErrorDocument 404 /new404.html

https://www.digitalocean.com/community/tutorials/how-to-create-a-custom-404-page-in-apache

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

M B


RE: [HOW-TO] Custom Error Pages/Static Pages - Kumar - 05-11-2016

Awesome! Thanks, it helped!