This is something that I've seen discussed in some other places, but this issue in particular hasn't been spelled out exactly as not being possible.
I want to point an apex domain to a heroku app (example.com
to example.herokuapp.com
)
CNAME doesn't seem to be possible, because they are not allowed at the apex level (sub domains are fine).
ALIAS records seem to be an option, even though I don't fully understand them, or if they are standard. We use AWS Route53 as our DNS provider, but ALIAS records only seem to be possible to use for specific Amazon services (s3 website, load balancer, ..)
So is it possible to point an apex domain to a Heroku app? Is my only other option to use another DNS provider?
Thanks
EDIT: I'm aware that I can CNAME www.example.com
to example.herokuapp.com
, and then redirect from example.com
to www.example.com
using an ALIAS record, and an S3 site that redirects. But what we want is the exact opposite, we want the browser to show example.com
.