Skip to main content

Default domain

Every Tinfoil Container gets a default URL based on its name and your organization’s slug:
https://<container-name>.<org-slug>.containers.tinfoil.sh
For example, a container named api in an org with slug acme would be available at https://api.acme.containers.tinfoil.sh. Debug-mode containers use a separate domain:
https://<container-name>.debug.<org-slug>.containers.tinfoil.sh

Custom domains

If your organization has a configured domain suffix, you can assign a custom domain during deployment.

Setting a custom domain

  1. On the Deploy tab, enter your desired domain in the Custom Domain field
  2. The domain must be a subdomain of your org’s allowed suffix (e.g. if your suffix is example.com, you could use api.example.com)

Validation rules

  • Must be a valid subdomain of your org’s allowed suffix
  • No protocol prefix (https:// is added automatically)
  • No path, wildcard, or port
  • Must not conflict with existing container domains in your org

DNS setup

After deploying with a custom domain, create a CNAME record pointing your domain to the container’s default Tinfoil domain:
api.example.com  CNAME  api.acme.containers.tinfoil.sh
Custom domains require org-level configuration. Contact us to set up a domain suffix for your organization.