• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Exporting Dedicated IP in custom format

A

alex.bumbacea

Guest
Hello,

Few days ago i needed to get all dedicated ips and the domains assigned to it in a custom format. I tried to make the connections in the pas db, but i wasn't able to print the dedicated ips with multiple domains on them since ip_addresses.default_domain_id is 0 for that ones. Could you please provide help in this matter?

Thank you,

Alexandru Bumbacea
 
For to tell. This is the task i run under mysql

SELECT name, ip_address FROM domains
INNER JOIN ip_addresses ON
ip_addresses.default_domain_id=domains.id
WHERE type='exclusive'
LIMIT 0, 10;
 
Back
Top