How to point your domain to a website
· 4 min read
Website builders and hosting companies give you one or two values to "point your domain". Here is where they go and why.
1. Find the values your website host gives you
Look for a "connect domain" or "custom domain" page at your host. It usually gives you an IP address (for an A record), a host name (for a CNAME), or both.
2. Add the records
| Name | Type | Value |
|---|---|---|
| @ | A | The IP address from your host |
| www | CNAME | The host name from your host (or @) |
If your host gives an IPv6 address too, add it as an AAAA record for @. If it gives several IP addresses, add one A record for each.
3. Remove records that get in the way
A name can have a CNAME or other records, never both. If "www" already has an A record from an old site, delete it before adding the CNAME. Old A records for @ that point somewhere else will also send some visitors to the old site.
4. Check it works
- Open your domain in a private window, with and without www.
- If it still shows the old site, wait for the TTL of the old records to pass, then try again.
- Your host usually issues the HTTPS certificate itself once the records are in place.
