This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Custom Error Pages/Static Pages
#1
Custom Error Pages/Static Pages
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
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by: Cantalupo , lino69 , SHADOW
#2
RE: [HOW-TO] Custom Error Pages/Static Pages
thanks ^_^
Reply
Thanks given by:
#3
RE: [HOW-TO] Custom Error Pages/Static Pages
may i ask is that include the
index.html aslo.
Reply
Thanks given by:
#4
RE: [HOW-TO] Custom Error Pages/Static Pages
(11-20-2015, 02:21 AM)bioenergy Wrote: may i ask is that include the
index.html aslo.

Yes
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:
#5
RE: [HOW-TO] Custom Error Pages/Static Pages
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



Attached Files Thumbnail(s)
   
Reply
Thanks given by:
#6
RE: [HOW-TO] Custom Error Pages/Static Pages
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
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:
#7
RE: [HOW-TO] Custom Error Pages/Static Pages
(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
Reply
Thanks given by:
#8
RE: [HOW-TO] Custom Error Pages/Static Pages
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
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Coldfusion Freelance

10$ free to start your VPS

Reply
Thanks given by:
#9
RE: [HOW-TO] Custom Error Pages/Static Pages
Awesome! Thanks, it helped!
Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
SSL and Custom Vhost Entries for Webmail etienne7702 4 449 03-19-2017, 09:16 AM
Last Post: TGates
Using Custom Vhost Entries for Webmail, MySQL, Etc. TGates 52 50,902 03-10-2017, 05:02 AM
Last Post: TGates
Fix PHP Fatal error: Allowed memory size of bytes exhausted Me.B 1 1,212 02-05-2015, 11:08 PM
Last Post: Diablo925

Forum Jump:


Users browsing this thread: 1 Guest(s)