• 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/

Resolved List domains and plans on Windows

AlexFlores

New Pleskian
Hey guys
Is there any way to get a list of domains with the plan associated?

I have seen some commands like
"%plesk_bin%\dbclient.exe" --direct-sql --sql="select status,name from domains;"

But i havent seen any way to get the plan associated to the website.

Any help?
 
SQL query is a more complicated here. Try to use something like that:

SELECT dom.id as domain_id, dom.name as domain, ps.plan_id, t.name as plan_name from domains dom LEFT JOIN Subscriptions s ON (dom.id=s.object_id AND s.object_type='domain') LEFT JOIN PlansSubscriptions ps ON ps.subscription_id=s.id LEFT JOIN Templates t ON t.id=ps.plan_id;
 
Last edited:
Back
Top