How can i connect my domain name to my heroku app - heroku

I buyed domain. After that i hosted app on heroku and now i am facing issues to linke my domain name with my app on heroku.I followed a lot of videos on internet but none of them is working.
Last one that i tried is:
https://www.youtube.com/watch?reload=9&v=kKGSGT7mSnQ
but there when i try to copy paste my heroku app url in the points to field i get
Enter either # or a valid host name such as: "subdomain.domain.tld"
error.
Can somoene tell my how can i do this thing please ?

I need to add domain on heroku - example.com that generated dns target and that generated dns target needs to be pasted in the points to section in go daddy: It is not the full app url from heroku like previous...

Related

ERR_SSL_UNRECOGNIZED_NAME_ALERT when trying to access my heroku app

I created a sandbox Angular application on Heroku.
The application is available (using the default https://mysampleapp.herokuapp.com ) and I want to have my domain name pointing to this application.
I followed the custom domain documentation to add a custom sub domain: https://devcenter.heroku.com/articles/custom-domains#configuring-dns-for-subdomains
In my Heroku application settings i can see the added domain :
www.mydomain.fr --> something-somethingelse-1234567890.herokudns.com
Then in my DNS provider, I removed my previous "A" / "CNAME" entries (no need anymore) and I added one :
CNAME / www.mydomain.fr. / something-somethingelse-1234567890.herokudns.com.
Using https://zone.vision/#/www.mydomain.fr , I can correctly see the DNS responding:
When trying to reach my app using the browser and the url www.mydomain.fr, I am getting an ERR_SSL_UNRECOGNIZED_NAME_ALERT error message.
Do you know what I am missing ?
I am using a single free application on Heroku, without any certificates.
Thank you in advance.
Found the root cause: I needed to enable ACM: https://devcenter.heroku.com/articles/automated-certificate-management

How do you correctly set DSN? [ERR: No DNSKEY records found ; The CNAME RRset was not signed by any keys in the chain-of-trust]

I successfully deployed my project on Heroku. The problems occurred when I wanted to set a custom domain for it (bought namecheap.com).
In neither Heroku nor Namecheap I get an error. Everything is correct, but somehow I cannot reach the page, and running an analysis on the following website returns these errors:
https://dnsviz.net/d/amsterdamtruffles.com/dnssec/
Errors:
-No DNSKEY records found.
-The CNAME RRset was not signed by any keys in the chain-of-trust.
Can anybody point me in the right direction to solve these errors?
I also had this occur, and the cause was setting the root domain (#) CNAME to my.github.io. The correct setup shown below, has the root and www pointed to the github.io servers, and also includes the www CNAME redirection and github pages TXT domain verification record.
Finally, there is a CNAME record in my github pages folder with the domain name to display, and with the errant root CNAME record gone on namecheap, it all works.

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...

Redirect domain to an app hosted on Heroku

I have a website hosted on Heroku. (let's say : my-app.herokuapp.com)
I bought a domain name on OVH. (let's say : my-domain.com)
I added my-domain.com to domain list on Heroku.
In DNS target, I have my-domain.com.herokudns.com .
I have to supply this to my DNS provider for the destination of CNAME or ALIAS record.
I did so on OVH. I added :
Subdomain : www.my-domain.com
TTL: By default
Target : my-domain.com.herokudns.com. .
But nothing works, I must be missing something. I'm still a beginner with this DNS thing.
In my browser, I have DNS_PROBE_FINISHED_NXDOMAIN or ERR_NAME_NOT_RESOLVED error when I'm trying to access my-domain.com.
It's my first website I'm trying to finish and I will be so happy if somebody can help me.
Thanks in advance !
You said you created a record for www.my-domain.com, but then you are trying to access my-domain.com, which is a different hostname. You need to create an ALIAS record for it as well.

How to point a naked domain at Heroku app without setting a custom domain

I've got a domain wildcard.xyz and an app hosted on Heroku. When I try to add wildcard.xyz as a custom domain on Heroku, it won't let me ("wildcard" is reserved 🙄 ).
I can add www.wildcard.xyz, point a CNAME www to www.wildcard.xyz.herokudns.com and the www works fine, but can't seem to find any way to point the apex to Heroku. I'm using DNSimple.
None of these have worked so far:
ALIAS to www.wildcard.xyz.herokudns.com (Heroku says "no app found")
ALIAS to myapp123.herokuapp.com (doesn't work for HTTPS)
CNAME * to wildcard.wildcard.xyz.herokudns.com (doesn't catch apex)
URL apex to www (URL record redirect doesn't work for HTTPS)
Any ideas of how I can get around this?
I was having a similar issue. Have you tried using DNSimple's one-click Heroku setup? https://dnsimple.com/services

Resources