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
You can check the correct CNAME target for Heroku SSL (SNI) by running the Heroku CLI command: heroku domains -a your_app_name . You might have old Custom Domains that still display a your_app_name.herokuapp.com CNAME target. You should remove, and re-add these to ensure a herokudns.com CNAME is set up.
A CNAME record redirects site visitors from the domain name they entered in their browsers to another domain name—in your case, your website running on Site Factory. Using CNAME to point to a website location instead of an actual IP address also allows Site Factory to better guarantee high-availability.
Go to the record editor and two DNS records, one for each host name, pointing to the Heroku SSL endpoint: Add an ALIAS record to point example.com to Heroku. Leave the Name of the record empty and set the Content field to the SSL endpoint example.com.herokudns.com. Add a CNAME record to point www.example.com to Heroku.
GoDaddy does NOT Support Heroku.
heroku domains:add www.tradespring.net
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With