Skip to Content
Rock8Cloud
Guides

Custom Domains

Use your own domain for repository services

Add a custom domain (e.g., app.yourcompany.com) to a repository service. Databases, S3 buckets, and other service types do not support custom domains. Custom domains apply to stable deployments only - preview deployments always use auto-generated URLs.

This setting is for deployed services. Pages use their own rock8cloud.page addresses and do not use a service custom domain.

Add a Custom Domain

  1. Open your service's Resources and Domains → Custom Domain tab
  2. In the Custom Domain section, enter your domain and click Add Domain
  3. Copy the DNS target that appears:
    • CNAME hostname → create a CNAME record (recommended)
    • IPv4 address → create an A record
    • IPv6 address → create an AAAA record (optional, alongside the A record)
  4. Copy the TXT challenge if one appears for your domain (none appears when a parent domain is already verified on the service):
    • Host looks like _rock8cloud-challenge.app.yourcompany.com
    • Value is the verification value shown next to it
    • Create a TXT record with that host and value at your DNS provider
  5. Go to your DNS provider (Cloudflare, Namecheap, etc.) and add the records
  6. Come back and click Verify

Once you add the domain, verification starts automatically. Your service is accessible from both its platform address (*.rock8cloud.app, or *.apps.rock8.cloud if created before that shipped) and your custom domain once DNS is confirmed. SSL certificates are provisioned automatically.

For a stable deployment, a verified custom domain is the preferred public address. The platform address continues to work as a fallback. Preview deployments keep their generated preview address and do not switch to the custom domain.

If verification fails, click Verify to retry manually.

CNAME or A/AAAA?

Use a CNAME when you can. It keeps working if our IP addresses ever change, so you never have to update your DNS again.

Use A/AAAA records for a root (apex) domain like yourcompany.com. Most DNS providers do not allow a CNAME there. Some providers offer CNAME flattening or ALIAS records as an apex alternative.

An A (IPv4) record is required when you point at IP addresses. An AAAA record on its own does not verify. Add AAAA next to the A record if you also want IPv6 routing.

Cloudflare and other proxies

You can keep the Cloudflare proxy on. A proxy hides the CNAME and our IP addresses, so for a proxied domain the TXT challenge is what proves the domain is yours.

DNS Record Format

CNAME (subdomains):

Type: CNAME
Name/Host: app
Value/Target: [CNAME hostname shown in Custom Domain section]

A/AAAA (root domains, or when no CNAME target is offered):

Type: A (add AAAA alongside it for IPv6)
Name/Host: app (for subdomain) or @ (for apex domain)
Value/Target: [IP address shown in Custom Domain section]

TXT challenge (required for ownership proof, skipped when a parent domain is already verified on the same service):

Type: TXT
Name/Host: _rock8cloud-challenge.app (for subdomain) or _rock8cloud-challenge (for apex domain)
Value/Target: [verification value shown in Custom Domain section]

Remove or update old A and AAAA records that point to your previous host. If some records point to us and others do not, verification fails and the HTTPS certificate can be delayed.

Add the TXT record (if shown) first and then click Verify. Verification also runs on its own after about 60 seconds.

Once a domain is verified on a service, its subdomains on the same service need no TXT record. With example.com verified, adding www.example.com only needs the routing record, and a subdomain that is still waiting for its TXT record is checked again as soon as the parent is verified. It does not work the other way: a verified www.example.com does not cover example.com.

Verification Status

StatusMeaning
PendingDomain added, waiting for DNS verification
VerifiedDNS confirmed, custom domain is active
FailedDNS check failed - verify your record and retry

Remove a Custom Domain

Click Remove in the Custom Domain section. The service reverts to its default platform address (*.rock8cloud.app, or *.apps.rock8.cloud if created before that shipped).

Troubleshooting

ProblemSolution
Verification failsCheck the routing record and the TXT ownership challenge and wait for propagation (can take a few minutes)
Domain not loadingVerify the status is "Verified" and SSL has been provisioned
Verified but SSL stays pendingCheck that the domain really points at the target shown in the Custom Domain section. Verification only requires the TXT challenge and an A record
Verification fails with "Old A/AAAA records still point elsewhere"Your domain has an A or AAAA record that points to your previous host. Delete it or change it to the value shown in the Custom Domain section, then click Verify. If the HTTPS certificate failed, it is retried automatically once DNS is correct
CNAME rejected by your providerYou are probably on a root domain. Use A/AAAA records instead
Verification fails with "No A record found"The domain only has an AAAA record. Add an A record, or use the CNAME target if one is shown
Add Domain is disabledThe service uses OIDC access. Switch it to Anyone with the link, Password or Members of this organization in Security → Access first
Adding a domain fails because public access is disabledThe service is set to Not exposed. Expose it again in Security → Access first

Current Limitations

  • The number of custom domains per service depends on your plan: Pluto and Mercury include one, Earth and Neptune include two, and Enterprise is unlimited. Your platform may configure different limits.
  • Manual DNS configuration required
  • No wildcard domains (e.g., *.app.yourcompany.com)
  • Routing record (CNAME or A/AAAA) plus the TXT ownership challenge, unless a verified parent domain on the same service covers it
  • Not available while the service uses OIDC access. You cannot add a custom domain to a service protected that way, even when it is not exposed, and you cannot turn on OIDC while the service has any custom domain, including a pending or failed one. Password and Members protection work with custom domains. See OIDC and custom domains
  • Not available while the service is not exposed, because there is no public route to verify. See Not exposed

On this page