Pointing Godaddy domain to heroku app

Are you looking for ways to point your Godaddy Domain to Heroku? Worry not! here we give you 5 easy steps to point your domain to heroku app:

  1. Add custom domain on heroku
    $ heroku domains:add www.myapp.com
  2. Go to Godaddy and configure DNS
    • Login to Godaddy and click “DNS zone file” tab
    • Under CName section click Add record and select Record Type as “CName”
    • In Host set www 
    • In Points to set your heroku app link to myapp.heroku.com
  3. Now if someone goes to “www.myapp.com”, they will be directed to your heroku app.
  4. Wait, But what if someone goes to myapp.com (not with www) then the link will not work.  You need to add forwarding from myapp.com to www.myapp.com
  5. To add forwarding; Go to settings tab -> forwarding section. Add new forwarding ( without masking ) from myapp.com to www.myapp.com 

Congratulation, you are all done! Please take note that the changes can take up to 48 hours to propagate across the internet. So, be patient :)