node.jsherokudnsdnsimplenamecheap

Do I still need to use a service like DNSimple if I want a naked domain for my Heroku app?


Researching past posts makes it seem like you have to use a service like DNSimple in order to have a naked domain (i.e. "example.com") for Heroku apps. I am wondering if that is still true, or if I can achieve this using only my app server.

I am using Namecheap BasicDNS and my app is a node/express app hosted on Heroku.

Thanks in advance for any tips. I am just trying to make sure before I purchase. Thank you.


Solution

  • You can't point your apex domain to an hostname (hence to Heroku), because you can't use a CNAME for the apex.

    Consequently, the only way to point your root domain to a service like Heroku is by using a DNS provider that provides a CNAME-like feature for the root domain, that is what DNSimple calls ALIAS.

    You can also find more information in the Heroku documentation.