Sfwd favicon 152

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 


Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts