How to Serve Multiple Domains in a Single Phoenix App (dockyard.com)
2024-06-07
![]()
The article explains how to configure a single Phoenix application to handle multiple domains and subdomains using specific routing techniques, including the scope/4 macro and the host option for grouping routes. It also covers setting the :check_origin option in the configuration to avoid transport errors.
Was this useful?