Search code examples
herokudns

How to configure heroku application DNS to Godaddy Domain?


I have created a heroku application and wants to give domain to it from godaddy.com.

I have configured all three hosts provided by heroku but now I am getting error saying:

Heroku | No such app

There is no app configured at that hostname.

Perhaps the app owner has renamed it, or you mistyped the URL.

I want to know: is there any other way to configure a heroku app?

UPDATED : New Approach Please use this link for new approach . Accepted answer is old feature.


Solution

  • I used this videocast to set up my GoDaddy domain with Heroku, and it worked perfectly. Very clear and well explained.

    Note: Skip the part about CNAME yourdomain.example. (note the .) and the heroku addons:add "custom domains"

    http://blog.heroku.com/archives/2009/10/7/heroku_casts_setting_up_custom_domains/


    To summarize the video:

    1. on GoDaddy and create a CNAME with

      Alias Name: www
      Host Name: proxy.heroku.com
      
    2. check that your domain has propagated by typing host www.yourdomain.example on the command line

    3. run heroku domains:add www.yourdomain.example

    4. run heroku domains:add yourdomain.example

    It worked for me after these steps. Hope it works for you too!

    However, things have changed. Check out this post: Heroku/GoDaddy: send naked domain to www