• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

listing domains on CLI

M

MykelS

Guest
hi,

apologies if this question has been asked before, i cannot find a response here or on google (or even the documentation) and im stumped.

does anyone know how to get a list of domains currently hosted?

i need just the domain names and it needs to be on the CLI - not through the web interface.

thanks,
mykel
 
# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e "select name from domains"
 
Back
Top