I have a phoenix app and I have multiple customers for it.
Each customer of mine would like to run my phoenix app under their own domain name and the versions of the app shown at the different domains should differ only in the color scheme.
So what I would like to do is figure out a way to intercept the incoming request, examine which domain the user is trying to reach, and then serve the same app but with different CSS applied according to the requested domain.
In other words, instead of running my app at a particular domain, I would like to run it on 1,000 domains – but I don’t want to deploy my app 1,000 times.
Is this something that it is possible to achieve?