CyberPanel Community

How to customize "Suspended" site front end

mi
minhazulOO7 #1

If I suspend a website, going to that site shows “Error 404”. How to customize that when I suspend a website it will show “Account Suspended” etc. like that.

8 replies
sa
sailorrr #2

Also interested.

na
nawaze #3

very important feature

sh
shoaibkk #4

you cant edit suspended site but you can disable DNS and then using host file you can use

th
thesheryar #5

Shoaib he’s talking about editting the error page.

For example: If you a website gets suspended on WHM, it shows “Account Suspended” on the frontend and not “404 Not Found”

Thanks

Gr
Greenreader9 #6

Hello, have there been any updates on this at all?

I don’t see how having a 404 page show for suspended websites is intended behavior

Mr
MrDollar2017 #7

Don’t use suspended function, you have to move website files somewhere else, and then create your own index.php and htaccess to point all traffic to your index.php

When using suspend function it just misleads with 404, for some clients they would blame your server and without knowing it is suspended and as an admin you have to explain every time lol

Mr
MrDollar2017 #10

I am manually moving my clients php files to other directory (from public_html) and upload to public_html only 1 file index.html with my suspended text inside.

Also you can redirect all different url calls to this file so you wont get 404 errors.

Sign in to reply