Domains and URLs
Zones
| Zone | Used for |
|---|---|
emaw-app.com | Backend API hostnames (both environments) and the support mailbox support@emaw-app.com |
everymanawarrior.cc | All new frontends, R2 media, docs |
everymanawarrior.com | The current public marketing site (legacy). The new website moves here at launch. |
Hostnames
| Hostname | Environment | What serves it | Protection |
|---|---|---|---|
dev.emaw-app.com | dev | Backend via Cloudflare tunnel (dev VM or a developer's laptop) | Public API; staff endpoints require JWT + Cloudflare Access JWT |
app.emaw-app.com | prod | Backend via Cloudflare tunnel (DockerApp VM) | same |
develop-website.everymanawarrior.cc | dev | Pages emaw-website, branch develop | Cloudflare Access (Workspace Google accounts) |
develop.emaw-website.pages.dev | dev | same project, raw Pages hostname | should also be behind Access |
everymanawarrior.com | prod | legacy site today; the new website at launch | public |
develop-web-app.everymanawarrior.cc | dev | Pages emaw-react-web-app, branch develop | public (app login) |
app.everymanawarrior.cc | prod | Pages emaw-react-web-app, branch main | public (app login) |
admin-dev.everymanawarrior.cc | dev | Worker emaw-admin-dev | Cloudflare Access + CRM Staff login |
admin.everymanawarrior.cc | prod | Worker emaw-admin | Cloudflare Access + CRM Staff login |
r2.everymanawarrior.cc | both | R2 bucket emaw-public | public, 1-year cache |
docs-dev.everymanawarrior.cc | dev | Pages emaw-documentation, branch develop | Cloudflare Access |
docs.everymanawarrior.cc | prod | Pages emaw-documentation, branch main | Cloudflare Access |
https://52.234.34.217:9443/ | prod | Portainer on the DockerApp VM | IP whitelist |
emaw.churchcenter.com/registrations | legacy | Planning Center registrations (linked from the apps' Getting Started Right page) | public |
u.expo.dev/<projectId> | both | expo-updates OTA manifest for the mobile app | signed by Expo |
Which frontend talks to which backend
| App | Env var | Dev value | Prod value |
|---|---|---|---|
| Website | VITE_EMAW_API_BASE_URL | https://dev.emaw-app.com | https://app.emaw-app.com |
| Web app | VITE_BACKEND_URL (trailing slash) | https://dev.emaw-app.com/ | https://app.emaw-app.com/ |
| Admin CRM | VITE_API_BASE_URL (proxied via the Worker as /rest) | https://dev.emaw-app.com | https://app.emaw-app.com |
| Mobile app | hard-coded in constants/backendIp.js | switch by editing the file | https://app.emaw-app.com/ |
The backend's CORS and hand-off origin lists (APP_ALLOWED_ORIGINS, COMMERCE_ALLOWED_ORIGINS, CONTACT_FORM_ALLOWED_ORIGINS) are built from these hostnames in EMAW_BACKEND/settings/base.py; add APP_EXTRA_ORIGINS / COMMERCE_EXTRA_ORIGINS in .env for anything new. Development settings also allow localhost on 5173, 5174, 3000, 5000 and 8788.
Email
| Address | Purpose |
|---|---|
support@emaw-app.com | User support; default sender for transactional mail (MS_SENDER_UPN) |
ACS_SENDER_ADDRESS | Marketing campaigns (Azure Communication Services) |