Save 36% for Black Friday! Learn more

New Discussion

Notifications

You’re not receiving notifications from this thread.

How to have one application for multiple URL's

1
Rails

We have a requirement where are rails application should be available on multiple domains like abc.com and xyz.com
based on domain it will only show a different logo all the rest is identical.
What's the best approach for this ? all tips are welcome

You can use request.domain to check the current domain and query your database for the account & logo you need to show.

Join the discussion
Create an account Log in