Notify Account Visitors using banner or similar msg

mobcdi

Well-Known Member
Jul 13, 2009
109
0
66
Does anyone know if its possible to have either WHM or cPanel set a message that get displays to visitors of an account (the hosted site) irrespective of the hosted site technology.

The use cases I see would be for WHM or cPanel users to overlay or in someway post a message to visitors alerting them to a issue that affects them, under the premise that its better to know ahead of time then have it surprise you
  • This site is being moved to another host at this time performance may be affected during the hours of x and y
  • Demo site could prompt to sign up with hosting company
  • This site has been deprecitated/abandoned and will be deleted in 1 week
  • Engineering works may degrade performance during the period xx to zz but the benefits are.....

I would think redirects either permanent or temporary wouldn't be the solution as they interrupt the entire sites working and I wouldn't think its a way of naming and shaming site owners for unpaid bills but it could useful when you need to contact more than just the site owner or their chosen web technology doesn't support the feature

Any ideas how or if it can be done without editing the site's code directly or is it not something thats recommended?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

I believe the Web Template Editor could be what you are looking for:

"WHM Home » Account Functions » Web Template Editor"

Per it's description:

The Web Template Editor allows you to create placeholder web pages. These pages will appear to visitors who navigate to a site on your server that:

Has not yet been configured by the domain owner (see the Default Website Page tab)
Has moved (see the Account Move tab)
Is experiencing a connection or firewall problem (see the Connection Selection tab)
Has been suspended (see the Account Suspended tab)


Thank you.
 

mobcdi

Well-Known Member
Jul 13, 2009
109
0
66
Thanks for the pointer but its a bit too intrusive and permanent for what I’m looking for.

Intrusive in that it writes files to the accounts public_html directory and permanent in that I read it as a “catch all” option which prevents visitors progressing on to access the sites actual content.

My hope is for something more temporary and informative like a simple banner along the bottom of the site which the user can easily dismiss or fades away after a number of seconds. “Please note essential site maintenance will take place between Date1 & Date2. Users may experience delayed responses for 30mins during this time. For more information please consult…”

My hope is to avoid issues with support calls to the site ownere or hosting company for planned maintenace but where its not possible to notify everyone or even identify everyone beforehand who may be affected and its at least better to flag it in advance. The site woudl still be accessible to visitors so they could accomplish what they wanted to before the maintenace takes place

The feature could also be used to highlight a new site design coming soon or similar improvement again where the site owner can't accomplish it using their own site and would like cPanel or WHM to do it
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
There is no native functionality for that type of system at this time. You can open a feature request for this via:

Submit A Feature Request

Thank you.
 

mobcdi

Well-Known Member
Jul 13, 2009
109
0
66
Thanks infopro but that modules development looks inactive to me judging by the last time it was updated and the broken links to the download.

Is it something that others thing would be useful ?