Domains and email
Which addresses point where, and how transactional email is sent.
- 1
Domains
The API currently runs at
femnet-api.duckdns.org, served by Caddy on the VPS, which obtains HTTPS certificates automatically. The learner app and hub each have their own domain; whenever a domain changes, update the backend's allowed hosts and CORS settings (see Manage settings and secrets). - 2
Frontend API address
Each frontend is built with
NEXT_PUBLIC_API_BASE_URLpointing at the API, for examplehttps://femnet-api.duckdns.org/api/v1. Changing the API domain means rebuilding both frontends. - 3
Email
The backend sends sign-in codes, verification codes and certificate emails. Set
RESEND_API_KEYto send through Resend, or set theDJANGO_EMAIL_*values for another SMTP provider. SetDJANGO_DEFAULT_FROM_EMAILto an address on a domain verified with the provider.Tip: If no email settings are set, the backend uses the console backend: emails, including codes, only appear in
docker compose logs drfand never reach users.
