How to configure heroku application DNS to Godaddy Domain?

Arpit Vaishnav picture Arpit Vaishnav · Aug 24, 2011 · Viewed 132k times · Source

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.

Answer

John Beynon picture John Beynon · Aug 24, 2011

There are 2 steps you need to perform,

  1. Add the custom domains addon and add the domain your going to use, eg www.mywebsite.com to your application
  2. Go to your domain registrar control panel and set www.mywebsite.com to be a CNAME entry to yourapp.herokuapp.com assuming you are using the CEDAR stack.
  3. There is a third step if you want to use a naked domain, eg mywebsite.com when you would have to add the IP addresses of the Heroku load balancers to your DNS for mywebsite.com

You can read more about this at http://devcenter.heroku.com/articles/custom-domains

At a guess you've missed out the first step perhaps?

UPDATE: Following the announcement of Bamboo's EOL proxy.heroku.com being retired (September 2014) for Bamboo applications so these should also now use the yourapp.herokuapp.com mapping now as well.