Heroku

Pointing A Domain To Your Heroku App

Posted by Weston Ganger on April 27, 2015

I was having trouble with my domain being redirected to my app. At the time I had my domain from GoDaddy although I think it applies to any DNS.

Here are the steps to set it up.


# Run this command in your terminal
heroku domains:add www.example.com

Then go to your DNS records on GoDaddy or your Domain Name Registrar.

Create a CNAME record: Host: www Points To: example.herokuapp.com

Also add a forwarding record to redirect example.com to www.example.com


Related External Links:


Posted in Web Development and Tagged with dns heroku 


Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts