Skip to content

domain_not_attached

DNS setup. HTTP status 502 or 503.

The domain in the request is not attached to this hosting account. The status is 502 or 503, but sending the same request again does not help.

What to do

Check the domain and the accountId. GET /api/v2/shared-hosting/{accountId}/domains lists the domains on the account. If the domain is missing, add it with POST /api/v2/shared-hosting/{accountId}/domains first.

What the message says

  • The domain is no longer attached to this hosting account.

Example

Response 503
{
"type": "https://developer.hostup.se/errors/domain_not_attached",
"title": "DNS setup",
"status": 503,
"detail": "The domain is no longer attached to this hosting account.",
"code": "domain_not_attached",
"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