The first problem is that you have conflicting CNAME records. Start by deleting all CNAME records, where the host name is "www".
Then create a new CNAME record. The host name field should be βwwwβ and the target CNAME should be your Heroku application name βrainbow-mutiny-636.herokuapp.comβ.
Now go to the Rails application directory and run heroku domains in the terminal. If you preconfigured it correctly, you should see something like:
Domain Name DNS Target βββββββββββββββββββββββββ βββββββββββββββββββββ www.example.com rainbow-mutiny-636.herokuapp.com
If you do not see this entry, create it by running:
heroku domains:add www.example.com
What is it. Once the DNS changes have spread, http://www.example.com should point to your Heroku application.
source share