I have a Ember 2 application (ember-cli) that uses a Rails API as the back end. For this application, I have enabled Wildcard DNS with my DNS Provider (Cloudflare). When a user signs up with my website, I want them to be able to use their subdomain to access their public home page.
For example:
A user named Steve
signs up for my site located at awesome.com
. So Steve browses to steve.awesome.com
, which internally would translate to http://ift.tt/1Z4kaFH
. How do I setup my Ember routes such that it can route based off of the subdomain?
Aucun commentaire:
Enregistrer un commentaire