I’m building a mini-site hosting service. So a user would build their mini-site in my meteor app and it will be available at myservice.com/theirsite.com. Trick is this site needs to be available from their custom domain theirsite.com and it needs to be automated. Does Galaxy support custom routing?
If I use digitalocean I could map all :domain requests to myservice.com/:domain in Nginx and that would be that. The user would then just need to A name their domain to my Galaxy IP. How GitHub pages work.
Subdomains would also be fine, but I’m not going to deploy a separate app for each mini-site, that would be crazy expensive.
TL;DR
How do I map clientsite.com to myservice.com/clientsite.com with Galaxy?