Skip to content

dns_not_enabled

DNS setup. HTTP status 409.

This hosting account does not offer the automatic DNS setup. GET on the same path returns "enabled": false for such accounts.

What to do

Check enabled in GET /api/v2/shared-hosting/{accountId}/domains/dns-setup?domain=... before you call POST. When it is false, set the website and mail records yourself with POST /api/v2/dns-zones/{id}/records.

What the message says

  • This hosting account does not offer this setup action yet.

Example

Response 409
{
"type": "https://developer.hostup.se/errors/dns_not_enabled",
"title": "DNS setup",
"status": 409,
"detail": "This hosting account does not offer this setup action yet.",
"code": "dns_not_enabled",
"requestId": "req_01hxa3b4c5d6e7f8g9h0j1k2m3"
}

Branch on code, not on title or detail. When you contact support about it, include the requestId. More in Errors and retries.

Endpoints that return it