How do I point my domain to a static website host?

Updated October 2026 · How we answer

Short answerMost static hosts ask you to add an A record for the bare domain and a CNAME record for www, or to use an ALIAS or ANAME record if your DNS provider supports it. Follow the exact values your host lists.

The usual records

Use an A record to point the bare domain to the IP address the host gives you. Use a CNAME record to point www to the host's name. Some hosts also ask for a TXT record to verify you own the domain before they issue a certificate.

Bare domains cannot use a CNAME record in standard DNS, which is why some providers offer ALIAS or ANAME records. These behave like CNAME for the apex and are supported by many DNS services. Check whether your provider offers them before choosing a method.

  • A record for the bare domain
  • CNAME record for www
  • TXT record for verification if asked
  • ALIAS or ANAME if your DNS supports them

After you save

DNS changes can take time to spread, and the length depends on the old TTL values. Use a lookup tool to confirm the new records are visible before you assume a problem. Once DNS points correctly, the host may issue a certificate automatically.

Keep any mail records you already have. Replacing the full DNS set by accident can break email even when the website works.

Common mistakes

  • Adding a CNAME on the bare domain where the DNS provider does not support it.
  • Deleting existing MX or TXT records while setting up the website.
From our shopsPhoneCasesForAll: 50,000+ aesthetic cases — Y2K, coquette, cottagecore and more.