VPS_setHostnameV1
Set or update the hostname for a specified virtual machine. Ensure domain A/AAAA records point to the VM's IP for reachability. Automates hostname configuration in Hostinger's hosting infrastructure.
Instructions
This endpoint sets the hostname for a specified virtual machine. Changing hostname does not update PTR record automatically. If you want your virtual machine to be reachable by a hostname, you need to point your domain A/AAAA records to virtual machine IP as well.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
hostname | Yes | hostname property | |
virtualMachineId | Yes | Virtual Machine ID |