Docs Home Return to Homepage
Get Started Login

Check Domain

Last updated Changelog

On this page
http
POST /crates/{handle}/domains/{hostname}/check

Checks a domain’s CNAME now, rather than waiting for the next check: a pending domain that points at the crate is served from now on. DNS can take a while to reach every resolver after a change, so a CNAME you’ve just made may need a few minutes.

Response (200)

The domain, as in List Domains, as of this check.

Errors

Besides the errors any endpoint can return:

Status Code When
403 scope_denied This API key does not have Crates write access for this crate.
403 service_inactive This crate is not active.
404 not_found Crate not found, or Domain not found.
502 upstream_unavailable This crate has no storage node.

Snagged on something?

Our sysadmins answer tickets around the clock.