Problem Deploying Phoenix App on Fly.io with Custom Domain

Problem Deploying Phoenix App on Fly.io with Custom Domain
The author, WoT_Abridged, has successfully deployed their Phoenix project to Fly.io and tried to point it to a custom domain. They set up the DNS records and SSL certificates required for the custom domain. However, their application at 'wordsmith.pub' throws an error, which does not occur when accessing the application via the Fly.io subdomain. The Fly.io logs indicate an issue with the Phoenix.Socket transport's origin check, suggesting a mismatch between the request origin and the host configured in the application's settings. Although the author attempted to resolve this by updating the config.exs file with their custom domain in the 'url' option, the issue persists. They are considering a possible DNS propagation delay and sought community assistance.

© HashMerge 2024