robcyb

Active Member
Apr 20, 2003
32
0
156
Hey guys, I want to create a demo only account for potential customers to look at to see what Cpanel is like. However I enabled demo mode for my hosting site, and the demo mode is enabled, however how does it work? I want a specific user and login for the demo account, and for them to have no functionality apart from navigating around. Is this possible?
 

Damian

Well-Known Member
Oct 1, 2001
115
9
318
Don't set your own site to demo mode ;)

Create a new account with it's own valid domain name, or as a subdomain of your own. i.e demo.maindomain.com

When creating the account enter:

Domain: demo.maindomain.com
User: demo
Pass: demo

Or whatever username/password combo you want.

Then via WHM set it to a demo account.

Be sure to set the disk allowance to less than 1mb so that nothing can be uploaded. When you log into : http://demo.maindomain.com/cpanel using it's username/password you should find that most features will only work in part and will display a message that they are not available as it's only a demo.
 

silversurfer

Well-Known Member
Dec 29, 2002
274
0
168
That's a bad idea. There's a bug in there that allows users to send emails from a demo account web-based email. If you set it to a real domain, god bless you.
 

ccccanada

Well-Known Member
Jan 17, 2003
279
0
166
Originally posted by Damian

Then via WHM set it to a demo account.

[/B]
Can you please explain where in WHM I can set the account to demo account??

I could not find any place in WHM where I can set a particular domain as a demo.

Thanks
 

Lamar

Well-Known Member
Jan 9, 2002
98
0
306
You're going to have to disable email, ftp, cgi, shell, Interchange,.....I know I left out some things.:cool:
 

Host4u2

Well-Known Member
Mar 24, 2002
247
0
316
Create a new Package: Demo

(NO shell access, zero POP3, zero FTP, 1 MB space, etc.)

Create a New Account:

Domain: demo.com
UserID: demo
Pwd: demo

Assign to the Demo Package.

Make it a demo account via "WHM/Account Functions/Disable or Enable Demo Mode on an Account".

When setting up even a fake Domain as a Demo Account, and using the http://IPaddress:2082, you can run into a problem with FTPing into the site (even if allowing 0 FTP accounts and less than 1 MB space). I simply logged in via SSH and chmod the account root (/home/demo) to 000 .

Hope that helps!
.
 
Last edited:

Izzee

Well-Known Member
Feb 6, 2004
469
0
166
Recursive chmod?

@Host4u2
...I simply logged in via SSH and chmod the account root (/home/demo) to 000.
Did this secure your demo and was the chmod -R 000 (recursive)?

Edit - just read a thread dated back in July last year that explains the chmod -R 000 command and it is used as recursive.

How to make the SSH Telnet item not accept passwords as I have seen on some cPanel demos? Apart from disabling it of course which defeats the object of having a demo panel.

Thanks for help on this. Its a bit of a head ache trying to secure a branded cPanel demo. :)
 
Last edited: