I am having troubles to get my custom domain working with Gigalixir because of DNS. Gigalixir can have a custom domain: you must create a CNAME record and point it to gigalixirdns.com, something like
www.example.com ---> www.example.com.gigalixirdns.com.
See Gigalixir Docs
However, RFC rules says that a root level (apex level) CNAME is not allowed. GoDaddy does not allow this – so GoDaddy is not a good registrar for Gigalixir (maybe not a good registrar for anything). But some registrars like namecheap.com allows for an
ALIAS record type that you can use for the root (non-www) version of your domain to solve this problem. Domains registered with Namecheap.com work with Gigalixir.
But for many (most?) registrars
www.example.com works great! But
I tried AWS Route 53, and I am so confused. It says something about “alias” record, but it does not allow me to define an alias the same way as Namecheap… AWS is so confusing. I think what I want to do is very VERY common: you want www.example.com and example.com to point to your web server. Doesn’t almost everybody want this?
I think maybe Route 53 can make an “alias” only if there is an A record already… but if there is an A record, then I do not understand why I would need a CNAME or an ALIAS at all. Maybe not?
So my question is does Gigalixir have a static IP address that I can use in a DNS A record (or AAAA record for ipv6). Or is a static IP address for DNS not allowed in Gigalixir? Does someone have a custom domain working for both www and root/apex domain using Route 53?
Thank you for any informations.