---
title: "Get a frontend custom domain"
method: GET
path: "/projects/{id}/frontends/{frontendId}/domains/{domain}"
tags: ["Frontends"]
---

# Get a frontend custom domain

`GET /projects/{id}/frontends/{frontendId}/domains/{domain}`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/frontends/{frontendId}/domains/{domain}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `id` string, uuid, required
- `frontendId` string, uuid, required
- `domain` string, required

## Response `200`

The custom domain

- FrontendCustomDomainResponse
  - `domain` string, required
  - `tls_mode` 'managed' | 'byoc', required
  - `domain_status` 'pending_verification' | 'provisioning' | 'active' | 'detaching' | 'failed' | 'deleted', required
  - `verification_status` 'pending' | 'verified' | 'failed', required: `verified`: the domain is served by a validated certificate. `pending`: it is not served yet, is being re-validated after its certificate material was withdrawn, or Volcano is retrying after a failure. `failed`: a failure left the domain unserved, alongside `domain_status: failed`; managed domains report the cause in `failure_reason`.
  - `serving_certificate` 'uploaded' | 'managed': Certificate the domain serves, present only while it is active. `uploaded`: the BYOC certificate, including after the domain switched to managed TLS and until Volcano issues the managed one; `failure_reason` then reports an issuance failure. `managed`: a certificate Volcano issued.
  - `failure_reason` string: Failure category, present when managed TLS setup has failed, or when issuance is failing for a domain that switched to managed TLS and still serves its uploaded certificate. Current values are provider, certificate, ownership, and internal; ownership means another account has already claimed the hostname through ownership verification. Treat unrecognized values as internal.
  - `verification_records` FrontendDomainVerificationRecord[]: DNS records to publish now. For a managed domain whose hostname the account already owns, the create response names the `_acme-challenge` CNAME that authorizes certificate issuance and renewal. Otherwise it names the `_volcano` TXT record that proves ownership of the hostname's registrable domain, and reads return the CNAME once Volcano sees that record. Usually empty for BYOC.
    - `name` string, required
    - `type` string, required
    - `value` string, required
  - `required_routing_record` FrontendDomainRoutingRecord: Deprecated and no longer returned. Use routing_target_hostname as the DNS routing target.
    - `record_type` 'CNAME', required
    - `name` string, required
    - `value` string, required
  - `routing_target_hostname` string: DNS routing target hostname for this frontend. The DNS record type depends on whether the custom domain is a zone apex.
  - `effective_urls` string[], required
  - `redirect` FrontendCustomDomainRedirect, nullable, required: Where the domain redirects every request, or null when it serves the frontend.
    - `to` string, required: Hostname the domain redirects to.
    - `status` 301 | 302 | 307 | 308, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `401`: Unauthorized
- `403`: Project not owned by the caller
- `404`: Frontend or custom domain not found
- `500`: Failed to get the custom domain

## Changes

- **2026-10-26** `4b0676e06128`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/frontends/:frontendId/domains/:domain/get.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
