# How do you point a domain to a VPS?

> How to point a domain to a VPS with 2 DNS records: an A record for the IPv4, an AAAA record for IPv6, then check with dig.

- URL: https://jadekvm.com/guides/how-to-point-a-domain-to-a-vps/
- Last updated: 2026-11-16
- Publisher: JadeKVM (https://jadekvm.com)

This is how to point a domain to a VPS with A and AAAA records, at any registrar or DNS host, and how to check that it worked.

**Quick answer — How do you point a domain to a VPS?**

To point a domain to a VPS, open the DNS settings at your registrar, create an A record for @ with the server IPv4, add a www record, and an AAAA record if IPv6 is configured. Changes usually show within minutes, up to the old TTL. **JadeKVM** shows the IPv4 in the dashboard once the server runs.

**In brief**

- **A record**: maps the name to the IPv4 address shown in the dashboard.
- **AAAA record**: maps the name to an IPv6 address, only if one is set up on the server.
- **www**: a CNAME to the bare domain, or a second A record.
- **Check with `dig`** before you request an SSL certificate.

## How to point a domain to a VPS in 5 steps?

The menu names differ by registrar; the record types do not.

1. **Copy the server IPv4** — Open the server page in the JadeKVM dashboard once it reads Running.
2. **Open the DNS zone** — At your registrar or DNS host, find the DNS or zone editor for the domain.
3. **Create the A record** — Name @, type A, value the IPv4, TTL 300 seconds while you test.
4. **Add www and AAAA** — Add www as a CNAME to the domain, and an AAAA record if the server has IPv6 set up.
5. **Check the result** — Run dig +short example.com A from your computer and compare with the server IP.

## Which DNS record does what?

*DNS records used to point a domain to a VPS, with an example value and when to add each one*

| Record | Name | Example value | Add it when |
| --- | --- | --- | --- |
| A | @ | 203.0.113.10 | Always: the site needs it |
| AAAA | @ | 2001:db8:10::1 | The server has a configured IPv6 address |
| CNAME | www | example.com. | You want www to follow the bare domain |
| MX | @ | Your mail provider's host | You receive mail at the domain |
| TXT | @ | v=spf1 include:… ~all | Your mail provider asks for SPF |

## How do you find the IP addresses of the VPS?

**The IPv4 is on the server page of the dashboard; the IPv6 is on the server itself.** Each server gets one dedicated IPv4 address and a routed IPv6 /64. Every plan states its outbound traffic per month in TB; going over it never triggers an automatic extra charge. Run `ip -6 addr show scope global` on the server. If it lists an address, use it in the AAAA record; if not, skip AAAA for now.

Never add an AAAA record for an address the server does not answer on. Browsers that prefer IPv6 would then fail to load the site.

*Check addresses and DNS*

```bash
# on the server
ip -4 addr show scope global
ip -6 addr show scope global
# on your computer
dig +short example.com A
dig +short example.com AAAA
dig +short www.example.com
```

## How long does it take to point a domain to a VPS?

**A new record usually resolves within minutes; a changed one can take up to its old TTL.** Resolvers cache an answer for the TTL the zone gave. Lower the TTL to 300 seconds a day before a move, then raise it again later.

If `dig` still shows an old IP, query the authoritative server with `dig @ns1.yourdns.example example.com`. A right answer there means the rest is only caching.

## Which is better for www: CNAME or a second A record?

**A CNAME is simpler, because one change to the A record moves both names.** A CNAME cannot sit at the zone apex, so the bare domain keeps its A record. Some DNS hosts offer ALIAS or flattening for the apex; it is not needed here.

## What about mail for the domain?

**Point MX records to a mail provider, not to the VPS.** Outbound port 25 is closed on every server; send mail through a mail provider on port 465 or 587. Your website can still send through that provider on port 587. Keep the A record for the site and the MX records for mail apart.

## What comes after the DNS records?

**A web server block and a free certificate.** Follow [how to host a website on an Asia VPS](https://jadekvm.com/guides/how-to-host-a-website-on-an-asia-vps/ "How do you host a website on an Asia VPS?") for nginx, then [how to install a free SSL certificate on a VPS](https://jadekvm.com/guides/how-to-install-a-free-ssl-certificate-on-a-vps/ "How do you install a free SSL certificate on a VPS?"). Let's Encrypt checks the A record, so it must resolve first.

JadeKVM read WonderNetwork's public pings on 16 November 2026: Hong Kong sits 18 ms from Manila and Singapore 8 ms from Kuala Lumpur. Latency figures on JadeKVM pages are public averages measured by WonderNetwork between its own servers on 16 November 2026; they show how far apart the cities sit on the network, not a promise about any one JadeKVM server. DNS adds one lookup; the city sets every round trip after it. See [the city comparison](https://jadekvm.com/hong-kong-tokyo-or-singapore-vps/ "Should I pick a Hong Kong, Tokyo or Singapore VPS?").

## Questions about pointing a domain to a VPS

### Do I need to change nameservers to point a domain to a VPS?

No. Keep the current DNS host and add an A record there. Change nameservers only if you move DNS elsewhere.

### What is the best TTL in 2026?

300 seconds while you set up or move, then 3600 seconds or more once it is stable.

### Can one VPS serve many domains?

Yes. Point each domain to the same IP and add one nginx server block per name.

### Why does the site load on IPv4 but not IPv6?

The AAAA record likely names an address the server does not answer on, or nginx lacks listen [::]:80. Fix the address or remove the record.

### Does JadeKVM sell domains or DNS hosting?

No. JadeKVM sells servers; keep the domain at any registrar and add the records there.

**Verdict**

- **An A record to the dashboard IPv4 is the core step**; AAAA only for a working IPv6.
- Check with dig before certbot, and send mail through a provider, not port 25.

## Sources

1. [RFC 1035: Domain names, implementation and specification](https://www.rfc-editor.org/rfc/rfc1035) — IETF (read 2026-11-16)
2. [RFC 3596: DNS extensions to support IPv6 (AAAA)](https://www.rfc-editor.org/rfc/rfc3596) — IETF (read 2026-11-16)
3. [Beginner's guide to the Domain Name System](https://www.icann.org/resources/pages/beginners-guides-2012-03-06-en) — ICANN (read 2026-11-16)
4. [Challenge Types](https://letsencrypt.org/docs/challenge-types/) — Let's Encrypt (read 2026-11-16)
5. [WonderNetwork: pings from Hong Kong](https://wondernetwork.com/pings/Hong%20Kong) — WonderNetwork (read 2026-11-16)
6. [WonderNetwork: pings from Singapore](https://wondernetwork.com/pings/Singapore) — WonderNetwork (read 2026-11-16)

**Get the IP to point your domain at** The IPv4 appears in the dashboard when the server runs. Bead costs $3.75 a month on 12 months. [Order Bead in Hong Kong](https://jadekvm.com/app/checkout/?plan=bead&term=12m&location=hk-hkg&from=how-to-point-a-domain-to-a-vps&lang=en) · [See every plan](https://jadekvm.com/pricing/ "How much does a JadeKVM server cost per month?")

---

JadeKVM: JadeKVM sells Linux KVM VPS in Hong Kong, Tokyo and Singapore, paid in crypto with no ID document, and publishes the measured latency from each city to the rest of Asia. 5 plans from 1 to 16 GB of RAM cost the same in all three cities and, on the 12-month term, sit at least 25% under a named comparable no-KYC crypto plan read on 16 November 2026. The operator is DomaineGoat LLC, Panama.
