Skip to main content
Glama

hostinger-api-mcp

Official

VPS_setHostnameV1

Configure custom hostnames for VPS instances by specifying the virtual machine ID and desired hostname. Change hostnames without automatic PTR record updates, ensuring correct domain A/AAAA record configurations for accessibility.

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

NameRequiredDescriptionDefault
hostnameYeshostname parameter
virtualMachineIdYesVirtual Machine ID

Input Schema (JSON Schema)

{ "properties": { "hostname": { "description": "hostname parameter", "type": "string" }, "virtualMachineId": { "description": "Virtual Machine ID", "type": "integer" } }, "required": [ "virtualMachineId", "hostname" ], "type": "object" }

Other Tools from hostinger-api-mcp

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hostinger/api-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server