# How to point a domain name to your server

> How to point a domain name to your server or VPS: A, AAAA and CNAME records in plain words, how long DNS changes take, and how to check the result.

Source: https://lowcostserv.com/guides/point-a-domain-to-your-server · Publisher: LowCostServ (lowcostserv.com) · Prices in US dollars, as published on November 26, 2026.

A, AAAA and CNAME records in plain words, how long changes take, and how to check that your domain answers.

By LowCostServ · Updated November 12, 2026 · 3 min read

A domain name is a label. DNS is the directory that says which server the label leads to. Pointing a domain at your server means adding one or two entries to that directory. This guide shows which ones, how long they take, and how to check them. The examples use `example.com` and the server address `203.0.113.10`.

## The records you will meet

| Type | What it does | Example value |
| --- | --- | --- |
| **A** | Points a name to an IPv4 address | `203.0.113.10` |
| **AAAA** | Points a name to an IPv6 address | `2001:db8::10` |
| **CNAME** | Makes a name an alias of another name | `example.com.` |
| **MX** | Says which server receives email for the domain | `10 mail.example.com.` |
| **TXT** | Holds text: ownership checks, email policies | `"v=spf1 mx -all"` |

For a website on your own server, the A record does almost all the work.

## Pointing the domain

1. **Find your server’s IP address.** It is on the Services page of your client area. On the server, `ip -4 addr` shows it too.
2. **Open the DNS settings** of the domain, at the company where it is registered or wherever its nameservers are.
3. **Create an A record for the domain itself.** The name is usually written `@` and means “example.com with nothing in front”. The value is the IP address.
4. **Create a record for `www`.** Either another A record with the same address, or a CNAME pointing to `example.com`.

| Type | Name | Value | TTL |
| --- | --- | --- | --- |
| A | `@` | `203.0.113.10` | 3600 |
| A | `www` | `203.0.113.10` | 3600 |

A subdomain works the same way: an A record named `app` makes `app.example.com` lead to whatever address you give it, which can be a different server.

## How long does it take?

Each record has a TTL, “time to live”, in seconds. It tells resolvers around the world how long they may remember an answer before asking again.

- A **new** record is usually visible within minutes, because nobody has an old answer cached. The exception is a name that was looked up just before its record existed: resolvers remember “no such name” for a while too.
- A **changed** record takes up to its old TTL to be seen everywhere. With a TTL of 3600, allow an hour.
- A change of **nameservers** is slower, and is where the old “24 to 48 hours” advice comes from.

Planning to move a site? Lower the TTL to 300 a day in advance. The switch then takes five minutes, and you can raise it again afterward.

## Check the result

On macOS or Linux:

```
dig +short example.com A
dig +short www.example.com A
```

On Windows:

```
nslookup example.com
```

Both should print your server’s address. To see what the rest of the world sees rather than your own resolver’s cache, ask a public resolver directly:

```
dig +short example.com A @1.1.1.1
```

## Common mistakes

- **A CNAME on the bare domain.** The DNS standard does not allow a CNAME alongside the other records that `example.com` itself must have. Use an A record there.
- **A leftover AAAA record.** If an old IPv6 record still points elsewhere, visitors with IPv6 go to the old place while you test happily over IPv4. Remove it or update it.
- **Editing DNS in the wrong place.** Records only count at the nameservers the domain actually uses. Check with `dig +short NS example.com`.
- **A proxy in between.** If the domain goes through a CDN or protection service, the public answer is that service’s address, not your server’s. That is expected.
- **Expecting DNS to open ports.** DNS only says where the server is. The web server and the firewall still have to accept the connection.

## Next step

With the name pointing at the server, add a web server and a certificate: [Host a website on a VPS with Nginx and free HTTPS](https://lowcostserv.com/guides/host-a-website-with-nginx). Need a name first? [Search for a domain](https://lowcostserv.com/domains).

## Sources and further reading

- [RFC Editor: RFC 1034, Domain Names - Concepts and Facilities](https://www.rfc-editor.org/info/rfc1034/)
- [RFC Editor: RFC 1035, Domain Names - Implementation and Specification](https://www.rfc-editor.org/info/rfc1035/)
- [RFC Editor: RFC 1912, Common DNS Operational and Configuration Errors](https://www.rfc-editor.org/info/rfc1912/)
- [ISC BIND 9 documentation: dig, DNS lookup utility](https://bind9.readthedocs.io/en/stable/manpages.html#dig-dns-lookup-utility)

**Put it into practice**

- [**Domain names**: Register with crypto, WHOIS privacy included.](https://lowcostserv.com/domains)
- [**Cloud VPS**: Cloud VPS from $3.99/mo with an unmetered 1 Gbps port.](https://lowcostserv.com/vps)

**Keep reading**

- [**Your access key: an account with no email or password**: Getting started · 4 min read](https://lowcostserv.com/guides/access-key)
- [**How to connect to a Linux server with SSH**: Getting started · 3 min read](https://lowcostserv.com/guides/connect-to-a-server-with-ssh)
- [**How to secure a new Linux server in 15 minutes**: Security · 4 min read](https://lowcostserv.com/guides/secure-a-new-linux-server)

## Read next Two guides to follow this one.

[All network and domains guides](https://lowcostserv.com/guides/topic/network)

- [Unmetered vs metered vs unlimited bandwidth, explained](https://lowcostserv.com/guides/unmetered-vs-metered-bandwidth): Port speed, traffic quotas, overage fees and “fair use”: how to read a bandwidth offer and estimate what you need. (Network and domains, 3 min read, Nov 12, 2026)
- [DMCA takedowns explained, and what DMCA-ignored hosting means](https://lowcostserv.com/guides/dmca-takedowns-explained): How a DMCA notice works, why hosts suspend first and ask later, and what “DMCA-ignored” hosting does and does not cover. (Privacy and policy, 4 min read, Nov 12, 2026)

## Your own server, in a few minutes.

Cloud VPS from $3.99 a month: no email, no ID, crypto payment, root access in minutes.

- **No KYC**: No email, no ID
- **No DMCA**: Notices not acted on
- **Crypto friendly**: BTC, ETH, XMR, USDT, SOL
- **Unmetered**: On every plan

---

LowCostServ rents cloud VPS, dedicated servers, GPU servers and Windows RDP servers and registers domain names, with no identity check and payment in crypto. Every plan and price: https://lowcostserv.com/pricing.md · The company in facts: https://lowcostserv.com/about.md · Index of the site for language models: https://lowcostserv.com/llms.txt
