↑ ↓ select, Enter open, Esc close

Read hosting type and status of all domains from the Plesk database

root@server
plesk db "SELECT name, htype, status FROM domains ORDER BY name"

Prints all domains with their hosting type (vrt_hst for web hosting, std_fwd and frm_fwd for forwarding, none for no hosting) and status. Status 0 means active, other values stand for suspended or disabled domains.

Also searched as

  • find suspended domains plesk
  • show domains without hosting
  • plesk domain status overview

Related one-liners

All in Plesk

Read first, then run.

The commands on myline.de act directly on servers, files and databases. A wrong path or placeholder can delete data irreversibly or make a server unreachable.

  • All commands are provided without warranty and are not tested on every system.
  • Understand what a command does before running it, and check every placeholder.
  • Make a backup first and, if possible, try it on a test system.
  • You run commands at your own risk. Liability for damages is excluded to the extent permitted by law.