Web hosting
Rulebase’s customer-facing web properties run on Cloudflare. This page records deployment ownership, production verification, and rollback steps. See the Cloudflare over Vercel decision record for the migration history and cost impact.
Current hosting
| Property | Production address | Deployment |
|---|---|---|
| Marketing website | rulebase.co | Cloudflare Git integration |
| Marketing website redirect | www.rulebase.co | Redirects to rulebase.co in Cloudflare |
| US app | app.rulebase.co | Cloudflare Worker rulebase-ui |
| EU app | eu.app.rulebase.co | Cloudflare Worker rulebase-ui-eu |
Cloudflare Access remains the control plane for restricted Rulebase properties. The internal docs app is separate from this customer-facing migration and remains protected by Cloudflare Access.
UI deployment ownership
The US and EU apps deploy through .github/workflows/cloudflare-ui.yml.
- A push to
release-proddeploys both Worker variants. - Both variants use the same build. Region-specific API and application addresses are environment variables in the workflow matrix.
- The US deployment targets
rulebase-ui. - The EU deployment targets
rulebase-ui-eu. - GitHub uses
CLOUDFLARE_WORKERS_API_TOKENandCLOUDFLARE_ACCOUNT_IDto deploy. Do not add Cloudflare credentials to the repository. - The workflow can also be dispatched manually, but its deploy job only runs for
release-prod.
The marketing website is connected directly to its Git repository in Cloudflare and deploys automatically from its configured production branch.
Verification and rollback
After a production deployment:
- Confirm
rulebase.coreturns successfully andwww.rulebase.coredirects once to the apex domain. - Confirm both
app.rulebase.coandeu.app.rulebase.coreturn successfully. - Confirm the matching US and EU jobs passed in the Cloudflare UI workflow.
- Check that each app is calling the correct regional API endpoints.
Use Cloudflare Worker version rollback for an application regression. For a routing problem, inspect the custom domain and DNS configuration in Cloudflare before changing application code. Recreating a Vercel project is not the default rollback path.