Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

Enable Demo Mode in DirectAdmin

This guide explains demo mode, a safe way to let people look around DirectAdmin without being able to change anything important.

DirectAdmin2 min read9 steps2 screenshots

This guide needs root access, so it is for VPS and dedicated server owners.

What is demo mode?

Demo mode is like a display model in a shop. People may look and click, but they cannot really break it. In DirectAdmin, demo mode blocks actions that would change or damage data. Hosting companies use it to show customers what the panel looks like. Teachers use it to train new staff.

Warning: never turn on demo mode for an account that you need to manage for real. The account may be unable to save changes. Use a test account instead.

Before you start

  • Make a separate demo user and a demo reseller if you need them.
  • Put no real customer data in the demo account.
  • Make a backup copy of the settings file before editing it.

Steps

  1. Log in to the server with SSH, a secure way to type commands, as root.
    Screenshot: Log in to the server with SSH, a secure way to type commands, as root.
  2. Copy the main DirectAdmin settings file as a backup:
cp /usr/local/directadmin/conf/directadmin.conf /usr/local/directadmin/conf/directadmin.conf.bak

This makes a safe spare copy.

  1. Open the real file with a text editor such as nano:
nano /usr/local/directadmin/conf/directadmin.conf

This opens the settings file for editing.

  1. Add the demo mode option. The setting is named demo_mode. Check the official DirectAdmin option list to confirm the exact value your version needs.
  2. Save the file and close the editor.
  3. Restart DirectAdmin:
systemctl restart directadmin

This makes the panel read the new setting.

Test it

  1. Log in to DirectAdmin with a demo account.
  2. Try to change a harmless setting.
  3. You should see a message that the action is not allowed in demo mode.

Turn it off

Restore the backup copy of the settings file and restart DirectAdmin again.

Tip: Demo settings may be different between versions. If you are not sure, ask Hostvento support through a ticket before editing server files.

Quick recap

  • Demo mode lets people explore the panel safely.
    Screenshot: Demo mode lets people explore the panel safely.
  • It is set in the DirectAdmin settings file and needs root access.
  • Back up the file first and restart the panel after the change.
  • Use demo accounts only, never real ones.