Skip to main content
Servers

Update server identity (rDNS)

Asynchronous Request

Update the server identity including main domain and alias domains. Whatever you enter as your main domain will be set as your server hostname, and we will create Reverse DNS records pointing to your maindomain. If your server is a LAMP or LEMP stack, we will update Apache/Nginx config so your webserver responds to maindomain as well as your aliasdomains. If your server is a webserver, you should in almost all cases re-generate your SSL certificates. Set removeDefaultAlias to true to remove the default Webdock alias (e.g. slug.vps.webdock.tech) from our DNS.

PATCH
/servers/{serverSlug}/identity
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

serverSlugstringrequired

Slug of the server

Body

application/json

Patch server identity model

aliasdomainsstring | null

Alias domains for the server (newline or comma separated)

maindomainstringrequired

Main domain for the server

removeDefaultAliasboolean | nulldefault:false

If true, remove the default Webdock alias from DNS. Warning: phpMyAdmin and other services may become inaccessible if your main domain has DNS issues.

Response

application/json

Server identity update initiated

X-Callback-IDstringheader

CallbackID

SSHPasswordAuthEnabledbooleandefault:false

SSH Password Authentication Enabled for this Server

WordPressLockDownbooleandefault:false

Wordpress lockdown status

aliasesstring[]

Aliases - Domain names for the server as known by Webdock. First entry should be treated as the "Main Domain" for the server.

datestring

Creation date/time

descriptionstring

Server Description (what's installed here?) as entered by admin in Server Metadata

imagestring

Server image

imageDataobject

ServerImage model

ipv4string | null

IPv4 address

ipv6string | null

IPv6 address

lastcheckedstring | null

Last time the platform checked this server for utilization metrics

locationstring | null

Location ID of the server

metadataobject

Server metadata such as default alias/domain flags, certificate run status, UI fields, billing helper fields, and automation toggles.

namestring

Server name

nextActionDatestring | null

Date sourced from server metadata.invoice_date. Often used as the next billing/lifecycle action date (including scheduled end-of-period cancellation/deletion when applicable), but may be null.

notesstring

Notes as entered by admin in Server Metadata

passwordlessSudoEnabledbooleandefault:false

Passwordless sudo enabled for this Server

pendingDeletionbooleandefault:false

True when this server currently has a pending scheduled cancellation/deletion (for example end-of-period deletion for billed servers).

profilestring | null

Server profile

profileDataobject

ServerProfile model

secondary_ipsobject[]

Secondary IP addresses assigned to this server

servicesobject

Service information attached to this server.

slugstring

Server slug

snapshotRunTimeinteger

Last known snapshot runtime (seconds)

statusenum<string>

Server lifecycle status. Active compute servers use statuses such as provisioning/running/stopped/error/rebooting/starting/stopping/reinstalling. Archived servers returned through suspended inventory views use status=suspended.

Available options: provisioning, running, stopped, error, rebooting, starting, stopping, reinstalling, suspended
virtualizationenum<string>

Server virtualization type indicating whether it's a Webdock LXD VPS or a KVM Virtual Machine. Container virtualization has been deprecated so you will only see this value for legacy servers.

Available options: container, kvm
webServerenum<string>

Webserver type

Available options: Apache, Nginx, None