Get started

Network and domains

How to point a domain name to your server

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

Val holds an arrow sign pointing to a server rack; a dotted path runs to it from a pin on a globe.

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

TypeWhat it doesExample value
APoints a name to an IPv4 address203.0.113.10
AAAAPoints a name to an IPv6 address2001:db8::10
CNAMEMakes a name an alias of another nameexample.com.
MXSays which server receives email for the domain10 mail.example.com.
TXTHolds 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.
TypeNameValueTTL
A@203.0.113.103600
Awww203.0.113.103600

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. Need a name first? Search for a domain.

Sources and further reading

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 KYCNo email, no ID
  • No DMCANotices not acted on
  • Crypto friendlyBTC, ETH, XMR, USDT, SOL
  • UnmeteredOn every plan

Client area

One key for your servers, your payments and your balance.

  • Nothing about you. No email, no name, no phone number, no ID.
  • Pay in crypto. BTC, ETH, XMR, USDT and SOL.
  • Up to +30% on top-ups. The bonus starts at $100.
  • Yours alone. We keep a fingerprint of your key, never the key itself.
How the access key works

Your account

No email, no password, no name. One access key.

New here? Create your access key