Lesson 2 of 6
Domains & DNS
A domain name is your website address (like google.com). You buy domains from registrars like Namecheap, GoDaddy, or Cloudflare. After buying, you point the domain to your hosting server using DNS records.
The most important DNS record is the A record, which points your domain to an IP address.
DEPLOY
# Buying a domain:
# 1. Search for availability on a registrar
# 2. Add to cart and purchase (usually $10-15/year)
# 3. Set up DNS records
# Common DNS records:
# A -> points domain to IPv4 address
# AAAA -> points domain to IPv6 address
# CNAME -> points subdomain to another domain
# MX -> points to email servers