Set hostname
VPS_setHostnameV1Set a custom hostname for a VPS instance by providing the virtual machine ID and hostname. Point A/AAAA records to the IP separately, because the PTR record is not updated automatically.
Instructions
Set 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.
Use this endpoint to configure custom hostnames for VPS instances.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | hostname parameter | |
| virtualMachineId | Yes | Virtual Machine ID |