heroku no such app - heroku

I followed the docs at Heroku and Zerigo to set up a custom domain for MYAPP.heroku.com. When I navigate to myapp.heroku.com, everything works fine. But when I navigate to myapp.com or www.myapp.com, I get the error "Heroku | No such app"
host myapp.heroku.com
myapp.heroku.com is an alias for proxy.heroku.com.
[.....]
looks good, and
host www.myapp.com
www.myapp.com is an alias for proxy.heroku.com.
[.....]
looks good too. But I still get "Heroku | No such app".
totally baffled at this point

The DNS entries look fine - provided you've added www.myapp.com as a custom domain to your application on Heroku then it should work fine. You can check this by viewing the application from the 'My Apps' tab on heroku.com and making sure the custom domain is listed in the domains section as 'www.myapp.com'.
If thats there then I'd log a ticket with support as you're doing everything right.
UPDATE: Heroku Status was just updated with a problem surrounding custom domains, it's likely that this is your problem - https://status.heroku.com/
HEROKU UPDATE: Engineers are still investigating the source of issues regarding custom domains. We have determined that only domains added or updated in the past 48 hours should be affected.
We'll continue to provide more information as it becomes available.

Related

Heroku:Custom Domain , ACM status:DNS redirect not forwarding path,What to do?

this is the first time i am buying a custom domain and i want to access my heroku java spring app by using the new domain name instead of the one provided by heroku.
The problem is that i get a ACM status:DNS redirect not forwarding path exception in heroku domain table,so it does not work.And i also do not know what this is and how to fix it even if i looked here https://devcenter.heroku.com/articles/automated-certificate-management#view-your-certificate-status
What i did so far:
I bought a custom domain name from godaddy.
Then i went to heroku settings >domains>add domain.
After that i got a new domain in the table.
I went to godaddy Records in order to add a new CNAME where i have added the domain name as name ( mycustomdomain. com) and the very long DNS Target that was autogenerated by heroku as value.
Now i went back to heroku and this ACM Status message is displayed:
DNS redirect not forwarding path
What am i missing?What do i have to do next to be able to successfully connect the 2 parts?
I saw some post arround here with "redirecting" but i am not sure if that applies to me or not.
Any help would be greatly appreciated.
If you're not already doing so, the host name for the CNAME record should be 'www' - and then the 'points to' would obviously be the URL Heroku gave you.
On the Heroku side, where you have listed the domain name itself, make sure to include the www. on the address itself - This is something I neglected to do a few weeks ago, once i added it - everything started working correctly.
I came across your issue because i've added a second URL (.com variation) and i'm getting that message with this second domain - Like you i'm unsure what i have missed...

Unable to configure Zerigo with Heroku

I have added the Zerigo add-on with heroku. I have followed the steps in the answer here.
Except for the third step. When I attempted to do that, I got an info message that I don't need to do that if I am using the add-on in heroku.
However, if I try to access my custom domain, I get an application error. Executing the command
$ heroku logs
I get the following output (pasted partially):
at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET
I went through this article which says that I need to replace proxy.heroku.com with myapp.herokuapp.com - but I don't understand how I need to do that. I tried adding the snippet as suggested in that stackoverflow answer linked earlier, but in that it points to proxy.herokuapp.com
I got this confirmed when I executed a ping command on my custom domain and got the following output:
64 bytes from proxy.heroku.com : icmp_req=68 ttl=46 time=289 ms
How do I get this working?
Go to https://dashboard.heroku.com/apps
Click on the name of your app
Click on "Zerigo DNS Zerigo Basic" and click "Configure". You should see your custom domain name listed under "Host Records."
Click "Add Snippet". Choose "Heroku" from the dropdown menu.
Click "Add Selected Records".
Go to the CNAME entry under host records and click "Edit". Change data from proxy.heroku.com to YOURAPP.herokuapp.com
I also had to do the following:
Go back to https://dashboard.heroku.com/apps
Click on the name of your app
Click on Settings
Under "Domains" add your custom domains e.g. mydomain.com. I also had to add one starting with "www."
You may have to wait 10-15 min for the settings to propagate.
If the error is ..
Access to bamboo HTTP endpoint denied"
Change your CNAME entry ..
yourdomain.heroku.com -> yourdomain.herokuapp.com
Is it possible is IT working, but you need to flush your DNS cache on your machine? That's a commmon problem, that your local machine has old/bad DNS data cached when you make a DNS change.
Quick test: try looking up the DNS record on your custom domain using
http://www.mydnstools.info/nslookup
If that looks correct, then google how to flush your DNS cache on whatever OS you are using.

How to point a TK domain to a heroku app?

I'm a noob. I've set up a tk domain here http://dot.tk/ I'd like to point to myapp.herokuapp.com. How can I do it?
I cannot figure out what entry to add, ARecod, Cname, MX record? What do I put in the HOST and IP fields? I keep getting "invalid data". Should I choose TK domain service or custom domain service?
In heroku I typed
heroku domains:add myapp.tk
Now what do I do?
Please, I'm not looking for an explanation as to how domain forwarding works. I'm sure as a network expert, you can spend hours studying it. I just need to know how to give my app a tk domain. Thanks
These are the panels I see
UPDATE
I've managed to do it with a CNAME record HOST=www.myapp.tk and IP=www.myapp.herokuapp.com but after 30 minutes they both stopped working and give a 404 error!? Is heroku blocking .tk domains?
UPDATE2:
I've registered another tok domain name. The www.myapp2.tk works but myapp2.tk does not work. My older www.myapp.tk and myapp.tk still give 404 error. Does anybody know how to fix this? I've done the following heroku commands:
heroku domains:add myapp.tk
heroku domains:add www.myapp.tk
heroku domains:add myapp2.tk
heroku domains:add www.myapp2.tk
In "cname record": host: www.myapp.tk ip-addres: herokuapp.com .
ping - a herokuapp.com in cmd and get ip, e.g. herokuapp.com [174.129.22.189]
add a-record host: myapp.tk ip-addres: 174.129.22.189 .
I couldn't get CNAME to work but everything seems to be all set with the following settings (I pinged herokuapp.com to get its IP):
SIDE NOTE: The validation on this page is finicky. Once it tells you that you've entered in a field incorrectly, it's smarter to just close the page and reattempt to enter the fields. I think their validation messes something up.
After you add those a record. Make sure they are included in your heroku app's domain list:
Heroku has dynamic IPs, you cannot ping to get an IP and just set it; might not work in other cases. See the answers here: How to point a TK domain to a heroku app? for correct solutions.

Pointing to subdomains with Heroku

I want both www.domain.ie and domain.ie to point to domain.herokuapp.com
I want secure.domain.ie to point to a third party booking engine.
I've run the following command:
heroku domains:add www.tankardstown.ie
Here is what my DNS setup looks like
The www.domain.ie and domain.ie redirects are working fine. The problem is with the secure.domain.ie. Currently, I'm getting this error:
Seems to be ok:
$ dig +noall +answer secure.tankardstown.ie
secure.tankardstown.ie. 86395 IN A 82.195.138.28
probably just a DNS propagation delay?
Found this issue whilst looking for something else, but thought I'd better answer this question for other weary travellers...
Looks this issue was because the domain was not added correctly to Heroku.
The OP only added 'www.' but should have added a wildcard domain or 'secure.' as a subdomain.
Actual Solution:
OP should have run:
heroku domains:add *.tankardstown.ie
Heroku has more information here:
https://devcenter.heroku.com/articles/custom-domains#add-a-wildcard-domain

How to create a subsubdomain for an app on heroku: (e.g. sub.myapp.herokuapp.com)

I am running a multi tenant app that uses subdomains for tenants on Heroku. In production I have a domain where subdomains point to my heroku app. (This all works fine)
For staging, I'd like to test without creating another domain. Since my app uses the first subdomain it sees to find the current tenant, I was hoping to use a url like: tenant.myapp.herokuapp.com. However, this is not working (heroku returns a 'no such app' error.)
I've found this post from 2 years ago that says it should be possible, but I don't see this add-on/option anymore in the referenced documentation.
I have tried adding the subdomains as a wildcard in heroku by running
heroku domains:add *.myapp.herokuapp.com
but this returned
! Trying to hijack another Heroku app? Tsk, tsk.
Does anyone know if this can still be accomplished and if so, how?
note: I'm currently using my staging environment by CNAMING *.staging.myapp.com to myapp.heroku.com, but would like to clean that up.
Here's how you use subdomains with heroku
Full Details here
Custom subdomains
For each custom subdomain you want to attach to your app (for example, www.example.com), use the domains:add command from the Heroku
CLI:
$ heroku domains:add www.example.com`
Adding www.example.com to example... done
This is no longer valid: "Subdomains are currently not possible on heroku"

Resources