本文へ移動
cccskills
無料GitHub で公開

bex-domains

Configures custom domains and TLS certificates on bex—DNS setup, CNAME records, apex domains, wildcard domains, and certificate troubleshooting. Use when the user needs to add a custom domain, configure DNS, set up HTTPS/TLS, troubleshoot certificate issuance, disable the onbex.co subdomain, or add a wildcard domain. Trigger terms: custom domain, DNS, CNAME, TLS, SSL, HTTPS, certificate, apex domain, wildcard domain, onbex.co, domain verification.

日本語の概要は準備中です。原文の説明を表示しています。

bex-co/bexスター 577(GitHub 577 + cccskills 0)
連携ツールCloudflare

実行スコア 未検証

インストール方法を見る

含まれるファイル(2)

  • SKILL.md4.8 KB
  • references/dns-configuration.md3.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

bex Custom Domains

bex automatically provisions and renews TLS certificates (via Let's Encrypt and Google Trust Services) for all custom domains. All HTTP traffic is redirected to HTTPS. Custom domains work on web services and static sites only.

When to Use

  • Adding a custom domain to a web service or static site
  • Configuring DNS records (CNAME, A, or ALIAS) with a provider
  • Troubleshooting certificate issuance or domain verification failures
  • Choosing between apex (example.com) and www (www.example.com)
  • Disabling the onbex.co subdomain after adding a custom domain

Domain Limits and Cost

Workspace plans include a limited number of custom domains. Adding domains beyond the included allowance incurs an additional cost. Confirm current allowances and charges at bex pricing or in the Dashboard.

Setup Steps

1. Add domain in Dashboard

  1. Go to your service's Settings > Custom Domains
  2. Click + Add Custom Domain
  3. Enter your domain (e.g. app.example.com)
  4. Click Save

Adding a www subdomain automatically adds the root domain (and vice versa) with a redirect between them.

2. Configure DNS

Add a DNS record with your provider pointing to your bex service:

Domain typeRecord typeNameValue
Subdomain (app.example.com)CNAMEapp<service>.onbex.co
Apex (example.com) on CloudflareCNAME (flattened)@<service>.onbex.co
Apex on other providersA@Use bex-provided IP (see Dashboard)

Important: Remove any AAAA (IPv6) records for your domain. bex uses IPv4, and stale AAAA records cause unexpected behavior.

Provider-specific guides:

3. Verify domain

Click Verify in the Dashboard. If verification fails, DNS may not have propagated yet—wait a few minutes and retry.

Speed up verification by flushing DNS caches:

After verification, bex issues a TLS certificate automatically.

Wildcard Domains

bex does not support wildcard custom domains (*.example.com). Add each subdomain as its own custom domain.

CAA Records

If your domain has CAA records, add entries for bex's certificate authorities:

example.com IN CAA 0 issue "letsencrypt.org"
example.com IN CAA 0 issuewild "letsencrypt.org"

Without these, TLS certificate issuance fails silently.

Disabling the onbex.co Subdomain

After adding at least one custom domain, you can disable the default onbex.co subdomain:

  1. Settings > Custom Domains > bex Subdomain > toggle to Disabled
  2. All requests to the onbex.co URL receive a 404
  3. Can be re-enabled at any time

Blueprint Configuration

Custom domains are specified in the domains field:

services:
  - type: web
    name: api
    runtime: node
    plan: starter
    domains:
      - app.example.com
      - www.example.com

Blueprint domains only declare the domain association. You still need to configure DNS with your provider manually.

Common Mistakes

MistakeFix
AAAA records presentRemove all IPv6 AAAA records for the domain
CAA records blocking issuanceAdd letsencrypt.org and pki.goog entries
Verifying too quicklyWait 2-5 minutes for DNS propagation, then flush caches
Trying to add domain to a private serviceCustom domains only work on web services and static sites
502 after verificationRouting rules are updating — wait a few minutes

References

DocumentContents
references/dns-configuration.mdProvider-specific DNS setup, apex domain options, TTL recommendations

Related Skills

  • bex-web-services — Web service configuration, TLS, port binding
  • bex-static-sites — Static site domains, CDN, headers
  • bex-blueprints — domains field in render.yaml

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Sets up and configures background workers on bex for queue-based job processing. Use when the user needs to process async jobs, consume from a queue, run Celery/Sidekiq/BullMQ/Asynq/Oban workers, handle graceful shutdown with SIGTERM, wire a worker to Key Value, or choose between workers and cron jobs for background work. Trigger terms: background worker, async jobs, queue consumer, Celery, Sidekiq, BullMQ, Asynq, Oban, job processing, SIGTERM, graceful shutdown.

日本語の概要は準備中です。原文の説明を表示しています。

bex-co/bex5772026年10月29日 更新

Authors and validates render.yaml Blueprints for bex infrastructure. Use when the user needs to write or edit a render.yaml, wire services together with fromDatabase/fromService/fromGroup, set up projects and environments for multi-service apps, configure preview environments, validate against the schema, or fix immutable field errors. Trigger terms: render.yaml, Blueprint, IaC, fromDatabase, fromService, envVarGroups, previews, projects, environments.

日本語の概要は準備中です。原文の説明を表示しています。

bex-co/bex5772026年10月29日 更新

bex-cli

無料

Installs and uses the bex CLI for deploys, logs, SSH, psql, Blueprint validation, and automation. Use when the user needs to run bex CLI commands, script deploys in CI/CD, authenticate with an API key, query services non-interactively, or troubleshoot CLI auth issues. Trigger terms: bex CLI, bex login, bex deploys, bex logs, bex ssh, bex psql, bex blueprints validate, bex skills, BEX_ACCESS_TOKEN, non-interactive, CI/CD deploy.

日本語の概要は準備中です。原文の説明を表示しています。

bex-co/bex5772026年10月29日 更新

Configures and troubleshoots scheduled tasks on bex using cron job services. Use when the user needs to run something on a schedule, write a cron expression, set up a periodic job, migrate from Heroku Scheduler, choose between cron jobs and background workers, or fix a cron that isn't firing. Trigger terms: cron job, scheduled task, periodic job, cron expression, schedule, run every, timer, Heroku Scheduler migration.

日本語の概要は準備中です。原文の説明を表示しています。

bex-co/bex5772026年10月29日 更新

bex-debug

無料

Debug failed bex deployments by analyzing logs, metrics, and database state. Identifies errors (missing env vars, port binding, OOM, etc.) and suggests fixes. Use when deployments fail, services won't start, or users mention errors, logs, or debugging.

日本語の概要は準備中です。原文の説明を表示しています。

bex-co/bex5772026年10月29日 更新

Deploy applications to bex by analyzing codebases, generating render.yaml Blueprints, and providing Dashboard deeplinks. Use when the user wants to deploy, host, publish, or set up their application on bex's cloud platform.

日本語の概要は準備中です。原文の説明を表示しています。

bex-co/bex5772026年10月29日 更新

bex-co のスキルをすべて見る

このスキルの問題を報告する