Statewide Docs

Use your own domain

Serve your public site, your member area, or both from a domain you own, with automatic HTTPS.

Your community always works at app.statewide.gg/c/<slug>, with its public site at sites.statewide.gg/<slug>. A custom domain such as cad.statewiderp.example.com replaces those addresses.

Add a domain

  1. Open Admin, then Domains. You need community.settings.
  2. Press Add Domain.
  3. Enter the Hostname only, such as cad.example.com, without https:// or a path.
  4. Pick the Kind:
    • Site: your public site at /.
    • CAD: your member area at the root, with the hub at /.
    • Both: your public site at / and your member area under /app.
  5. At the Statewide edge, two more options show. Tick CDN in front if your own CDN serves HTTPS for the hostname; Statewide then needs only the TXT record. Tick Also serve www to redirect www.<hostname> to the bare hostname. Neither can be changed later.

Add the DNS records

The domain's DNS section lists the records to create at your DNS provider, each with Copy.

  1. Add the TXT record: host _statewide-verify.<hostname>, with the code shown. It proves you own the hostname.
  2. Add the pointing record exactly as shown. It appears once Statewide sees the TXT record. On setups without the Statewide edge, an A record shows from the start; add it with the TXT record.

Using Cloudflare?

Set the records to DNS only (grey cloud), unless you ticked CDN in front.

Statewide then verifies the domain and issues its HTTPS certificate.

Limits

  • 5 domains per community, and 5 added a day (removed ones count).
  • statewide.gg and its subdomains, IP addresses and localhost can't be used, nor a hostname another community uses.

On this page