Heroku + Cloud DNS

If you are a Heroku and GCP user, chances are you’ve faced the need for a custom domain for your Heroku app and want to use a Cloud DNS zone, then this article is for you. But first, you guessed it, theory…

What is a DNS ALIAS/ANAME record?

DNS ALIAS/ANAME records are a non-standard invention to surpass the limitations of CNAME records. When you need to provide some service at a subdomain name level (www.example.com) where a third-party provider has control over the mapping from names to IP addresses (www-example-com.some-provider-dns-resolver.com), you would use a CNAME record (www) without a glance. But what would happen when it’s…

Gaston Silva

Follow me for some nerdy stuff. I'm passionate about technology, math and science

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store