23
votes

My app works fine on tradespring.heroku.com (I think. Well I can see it perfectly anyways). So I entered a CNAME record that redirects my domain(tradespring.net) with alias www to tradespring.heroku.com. But then when I enter www.tradespring.net it says heroku app not found.

When I just enter tradespring.heroku.com it works fine though. It does automatically change it to https://tradespring.heroku.com though. Why doesnt it work through the CNAME

2
Also, you asked the same thing yesterday stackoverflow.com/questions/11606109/…... you must be kiding - Marcelo De Zen
sorry I will try and be more interactive with question answerers - BigBoy1337

2 Answers

55
votes

heroku domains:add www.tradespring.net

4
votes

It is because the CNAME entry is redirecting to heroku but asking from "tradespring.net" for heroku. And that is ok, it should work this way. Now I supose you have to configure heroku in to respond request to your domain.

Here is the tutorial for heroku custom domains:

https://devcenter.heroku.com/articles/custom-domains