I’m trying to add custom domains to two Heroku apps and it’s not working. I’ve done it before without a problem.
On the Heroku website, I added Zerigo DNS (in the add ons section) and then added the domain name. On Godaddy, I changed the nameservers to
a.ns.zerigo.net
b.ns.zerigo.net
c.ns.zerigo.net
d.ns.zerigo.net
e.ns.zerigo.net
I did that yesterday (24 hours ago). It’s always worked within two hours before.
I know there’s also a way to add custom domains through the console. When I try to do this
heroku addons:add custom_domains:basic
I get a response “App not found” even though I can view the app (which is just a blog) live on the internet.
Update
Trying suggestion in the comments i got
heroku addons:add custom_domains:basic --app hollow-cloud-8495.heroku.com/
Adding custom_domains:basic to hollow-cloud-8495.heroku.com/... /Users/michael/.rvm/gems/ruby-1.9.3-rc1@ruby193/gems/heroku-api-0.2.4/lib/heroku/api.rb:64:in `rescue in request': undefined method `response' for #<Excon::Errors::StubNotFound:0x000001028649a0> (NoMethodError)
from /Users/michael/.rvm/gems/ruby-1.9.3-rc1@ruby193/gems/heroku-api-0.2.4/lib/heroku/api.rb:59:in `request'
from /Users/michael/.rvm/gems/ruby-1.9.3-rc1@ruby193/gems/heroku-2.26.5/lib/heroku/auth.rb:29:in `request'
from /Users/michael/.rvm/gems/ruby-1.9.3-rc1@ruby193/gems/heroku-api-0.2.4/lib/heroku/api/addons.rb:34:in `post_addon'
from /Users/michael/.rvm/gems/ruby-1.9.3-rc1@ruby193/gems/heroku-2.26.5/lib/heroku/command/addons.rb:76:in `block in add'
from /Users/michael/.rvm/gems/ruby-1.9.3-rc1@ruby193/gems/heroku-2.26.5/lib/heroku/helpers.rb:232:in `action'
from /Users/michael/.rvm/gems/ruby-1.9.3-rc1@ruby193/gems/heroku-2.26.5/lib/heroku/command/addons.rb:75:in `add'
from /Users/michael/.rvm/gems/ruby-1.9.3-rc1@ruby193/gems/heroku-2.26.5/lib/heroku/command.rb:176:in `run'
from /Users/michael/.rvm/gems/ruby-1.9.3-rc1@ruby193/gems/heroku-2.26.5/lib/heroku/cli.rb:9:in `start'
from /Users/michael/.rvm/gems/ruby-1.9.3-rc1@ruby193/gems/heroku-2.26.5/bin/heroku:17:in `<top (required)>'
from /Users/michael/.rvm/gems/ruby-1.9.3-rc1@ruby193/bin/heroku:19:in `load'
from /Users/michael/.rvm/gems/ruby-1.9.3-rc1@ruby193/bin/heroku:19:in `<main>'
I had the same problem not so long ago. This is the response.
Hello,
We are currently experiencing some issues with provisioning new domains through the Heroku-Zerigo interface. Operations are looking into the item. We have had no reports of any issues with current domains, only provisioning new ones.
Please set up only the mydomain.com domain. The www will function as a record within the mydomain.com domain.
For the time being, please create a Zerigo Free account (
https://www.zerigo.com/managed-dns/pricing – click on FreeDNS and
SignUp .)
We can then transition the domain over to your proper Heroku account
once the items are fully resolved.
https://www.zerigo.com/docs/managed-dns/creating_your_first_domain
https://devcenter.heroku.com/articles/custom-domains
Please contact Heroku support for additional details on the specific records if needed, as certain configurations might require other records.
Best Regards,
Zerigo Support
Edit
You need to add the following: