I bought my domain on Name.com I got my App on heroku.
On heroku added a new \"custom domain\":
Domain Name DNS Target
mydomain.com mydomain.com
It needs to point to yourapp.herokuapp.com
and you'll need to map www
to the Host
field.
In order to point your root domain, i.e. yourdomain.com to the Heroku app, you'll need to use a DNS service that allows CNAME flattening like CloudFlare.
See this article: https://devcenter.heroku.com/articles/custom-domains#add-a-custom-root-domain