Skip to main content

Multitenancy with custom domain names

Rails • Asked by Brent C

We have a multitenant application with custom subdomains using a wildcard SSL on Heroku. While this has been great for our clients they are now requesting the ability to add their own domain names.

Any suggestions on
1: How to handle routing of custom domains to client subdomains.
2: How to integrate this into Heroku dynamically.

Any notes or direction on implementation of this feature would be greatly appreciated!


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.