Custom Domains
Notes on purchasing custom domains.
Buying a new domain
I recommend using https://porkbun.com/ to purchase a new domain.
They are a US registrar based out of Oregan.
In my experience, their website is very clean and intuitive and their prices are typically cheaper than Namecheap.
Other registrars typically have low initial prices but high renewal prices.
If you want you can buy from some other registrar and transfer to Porkbun, but the effort typically isn't worth the few dollars in savings.
In general, I recommend buying a .com, .net, .info, or .org domain.
The renewal costs for these are only $8-11 per year.
Furthermore, you'll be able to transfer these to Cloudflare Registrar after 60 days where you'll enjoy even cheaper renewals.
If you just need a custom domain for an API, you can look into 6-9 digit .xyz domains. These domains renew for only $0.99 per year[1] and are targeted towards IOT devices.
Setup
I recommend using Cloudflare to manage your DNS. They have a very useful free tier.
Records
A
A records point to an IP.
CNAME
CNAME records point to an IP of another domain.
MX
MX records are for handing email.
TXT
TXT records are typically used for domain verification.
- ↑ 1.111 Billion .XYZ Domain Names https://www.prnewswire.com/news-releases/1111-billion-xyz-domain-names-300464764.html