Hestiacp API error

Follow this steps:

  1. SSH login into the SLAVE server.
    /usr/local/hestia/bin/v-add-user dns-cluster @secret-password! [email protected]
    /usr/local/hestia/bin/v-generate-api-key

You will get a number such as: znCICA_UsXwmGUB55HXxEyk0MECF_3Sv

  1. SSH login into the MASTER server.
    /usr/local/hestia/bin/v-add-remote-dns-host slave1.mydomain.com 8083 znCICA_UsXwmGUB55HXxEyk0MECF_3Sv

The command will take a while to complete (about 10 minutes for 150 domains)

  1. To test if it works: login to the SLAVE server and enter:
    /usr/local/hestia/bin/v-list-dns-domains dns-cluster
3 Likes