Reputation: 1640
I am not sure if the following scenario can be done on Heroku:
myapp.herokuapp.com
) in which each user can get a subdomain like foo.example.com
. From what I read, this can be done by wildcarding the subdomain. Adding *.example.com
to the Heroku domains and then set the DNS provider to point to the Heroku application (myapp.herokuapp.com
)bar.com
to foo.example.com
. But, how can this be achieved?Any help is appreciated. Thanks!
Upvotes: 0
Views: 46
Reputation: 11352
The Heroku Dev Center has an article that is kept up to date and answers all of this:
You CNAME *.example.com
to your Heroku app, and you add *.example.com
to your Heroku domains. It's up to your application code to make sense of it all after that.
Upvotes: -1
Reputation: 1640
I to get it working like this:
Add the following CNAMES
Add the domaines on Heroku
Upvotes: 0