Closed clone1018 closed 4 years ago
That's an easy one to fix, as it looks like a similar issue to Nginx and it's to do with your host file. If you've not done it and I'm not 100% sure with your structure, you need to add in various routing options for all domains and IP's required
For example - 12.0.0.1(IP First) Localhost(Hostname Second) local.localhost(full host domain).
Now I don't know how you're routing works in terms of the hosting, as running applications such as Odoo (Awesome Open Source) you need to configure for full IP proxy, as well as routing within the server config for those IPs.
If you've done this, my apologies and if not, I hope it helps....
And yes just reading over the attached link, that is exactly it..
We're getting a lot of people hit www. our domain, which causes Phoenix to freak out a bit.
Seems like https://hexdocs.pm/plug_canonical_host/readme.html might fix it?