Search code examples
herokudnscnamemx-record

Redirect bought domain from hetzner to heroku application


I have purchased a domain from hetzner. Currently my application is running on my heroku account. My question ist. How to redirect the domain from hertzner to my heroku application. I can only use these records:

enter image description here

I really appreciate your answers, cause I really have no idea where to start!

PS.: I can only use the DNS records because I have only aquired a domain and therefore the panel http://myaccount.hetzner.co.za is not available for me ;(


Solution

  • This Heroku Dev Center article has many answers regarding DNS:

    In short: you want any apex domain (mydomain.com) to forward to a subdomain (typically www.mydomain.com), and then CNAME the subdomain to your Heroku app.

    mydomain FORWARD www.mydomain.com
    www.mydomain.com CNAME something.herokuapp.com