For detailed information on setting up your URL structure, including subdomains, subdirectories, and query parameters, please refer to our URL Setup guide.
When using subdomains with our reverse proxy, you must update your allowed domains to include the wildcard subdomain (e.g., *.example.com). Only one primary domain is allowed per project in this case.
For development and testing, best practice is not to set *or localhost. Indeed, for technical reasons trying to do so will lead to an error. Instead, use a secure secret key — see our Local Development guide for more information.