Skip to content

AS213941 · Peering-20% on all VPS with code NVH20 · Delivered in 60 seconds

Linux VPSFrom 2,49 €/monthWindows VPSFrom 3,49 €/monthFiveM serverFrom 0,99 €/monthMinecraft serverFrom 1,99 €/month
VPS & Cloud

Ranges

Linux NVMe VPSRoot access, Debian, Ubuntu, Alma…Windows RDP VPSRemote desktop, licence includedDedicated serversIntel Xeon Gold, exclusive resourcesPterodactyl VPSGame panel preinstalled

Network and hosting

Anti-DDoSWeb hostingColocationIP transitVPN

Professionals

Reseller VPSReseller programme
Solutions

Bots and automation

AI agents VPSA server for your coding assistants and autonomous agentsTelegram bot VPSPython or Node.js, always reachableDiscord bot VPSMusic, moderation, tickets: no downtimen8n VPSWorkflows with no execution limitVPN VPSAn encrypted tunnel exiting in FranceWeb scraping VPSScheduled data collection, dedicated IP

Trading

Forex VPSYour robots manage positions overnightMetaTrader 4 VPSSeveral MT4 terminals on one machineMetaTrader 5 VPSForex, indices and stocks in MT5NinjaTrader VPSFutures and NinjaScript strategiesTrading bot VPSOpen-source crypto bots, protected API keys

Windows desktop

Windows 10 VPSFor software that requires Windows 10Windows 11 VPSA modern Windows desktop, reachable anywhereSEO VPSLarge-site crawls without tying up your PCStreaming VPSAn OBS studio streaming from the data centreWordPress VPSFast websites on NVMe disks
Marketplace

Intelligence artificielle

Claude CodeL'agent de code d'Anthropic, dans votre terminalCodex CLIL'agent de code d'OpenAI en ligne de commandeOllamaDes modèles de langage locaux, sans API externeOpen WebUIUne interface de discussion pour vos modèles Ollama

Automatisation

n8nVos automatisations, sans limite d'exécutions

Déploiement et conteneurs

DockerLe moteur de conteneurs et Docker ComposeCoolifyDéployez vos applications depuis Git, sur votre serveurPortainerGérez vos conteneurs Docker depuis le navigateur

Supervision

Uptime KumaSurveillez vos sites et serveurs, alertes comprises

Network and security

WireGuardVotre propre VPN chiffré, rapide et moderneVaultwardenUn gestionnaire de mots de passe auto-hébergé

Sites et cloud

NextcloudVotre cloud de fichiers, agenda et contactsWordPressLe CMS le plus utilisé, sur une pile Nginx rapide

Jeux

PterodactylLe panel pour héberger vos serveurs de jeux
Gaming

Game servers

FiveM servertxAdmin, ESX, QBCoreMinecraft serverJava, Bedrock, modpacksRust serverOxide, Carbon, wipesNova-Life serverNova-Life: Amboise RP

Protection and tools

FiveM Anti-DDoSFree tools
Resources

Learn

DocumentationBlog

Assistance

ContactSLA commitment
View plans Client area Peering · AS213941

DNS

Configuring your domain's DNS for a VPS

By the NVHCloud team · 2026-09-18 · 5 min read

DNS translates a name such as mysite.com into an IP address. It is the first step in almost every VPS project: website, HTTPS certificate, game server reachable by name, email. This guide explains the useful records, how to change them without downtime, and how to check the result.

1. How DNS works

Each domain is managed by authoritative DNS servers, usually those of the registrar where you bought it, or Cloudflare's if you moved the domain there. You change records in that provider's interface. To find out which one manages your domain:

dig +short NS mysite.com

Resolvers, such as your ISP's or public services like 1.1.1.1, keep answers in cache for a duration set by each record: the TTL. This cache is what explains the famous propagation delays.

2. The useful records

TypeRoleExample
AName to IPv4 addressmysite.com → 203.0.113.10
AAAAName to IPv6 addressmysite.com → 2001:db8::10
CNAMEAlias to another namewww.mysite.com → mysite.com
MXServers that receive the domain's mail10 mx1.mail-provider.com
TXTFree text: SPF, DMARC, ownership checks"v=spf1 include:... ~all"
SRVService with a port, for some games and protocols_minecraft._tcp.play
CAAAuthorities allowed to issue certificates0 issue "letsencrypt.org"

A CNAME cannot coexist with other records on the same name: you therefore cannot put one on the bare domain mysite.com, which already carries its MX and TXT records. Use an A record for the bare domain and a CNAME for www.

3. Point a domain to the VPS

In your provider's DNS interface, create or edit:

mysite.com.        A      203.0.113.10
mysite.com.        AAAA   2001:db8::10      (if your VPS has IPv6)
www.mysite.com.    CNAME  mysite.com.

Replace the addresses with your VPS's, shown in the client area. Depending on the interface, the bare domain is written @ or left empty. Only publish an AAAA record if the server really answers over IPv6: otherwise visitors on IPv6 will hit an error.

For a dedicated subdomain, such as api.mysite.com or play.mysite.com, simply add an A record on that name. Once the domain resolves, get the HTTPS certificate: see Nginx and Let's Encrypt.

4. Do not break your email

This is the most costly mistake when changing hosting: while editing the DNS zone, the MX and TXT records get deleted or replaced, and email stops arriving. Before any change, write down or export the full zone. Changing the site's address only requires touching the site's A, AAAA and CNAME records. For email authentication, see SPF, DKIM and DMARC.

5. SRV records for game servers

Minecraft Java reads SRV records: your players can type play.mysite.com even if the server listens on a non-standard port.

play.mysite.com.                 A    203.0.113.10
_minecraft._tcp.play.mysite.com. SRV  0 5 25570 play.mysite.com.

The four SRV values are the priority, the weight, the port and the target. The target must be a name with an A record, never an IP address. On the default port 25565, the SRV record is unnecessary. FiveM and Rust do not read SRV records: players connect with the name and port, for example connect play.mysite.com:30120. See also installing a Minecraft server.

6. TTL and propagation

"DNS propagation" is nothing more than caches expiring. If your record has a TTL of 86,400 seconds, i.e. one day, some visitors will see the old address for up to a day after the change.

The technique for a change without surprises: the day before, lower the TTL of the records involved to 300 seconds. On the day, caches expire within five minutes of the change. Once everything is stable, raise the TTL back to an hour or more. This is the method described in migrating a website to a VPS.

7. Check with dig

dig +short A mysite.com                    # what your resolver sees
dig +short A mysite.com @1.1.1.1           # what Cloudflare sees
dig +short A mysite.com @8.8.8.8           # what Google sees
dig A mysite.com @$(dig +short NS mysite.com | head -1)   # the source, no cache

The last command queries the authoritative server directly: if it returns the new address, your change is saved and you only need to wait for caches. On Windows, nslookup mysite.com 1.1.1.1 gives the same result.

8. Reverse DNS

Reverse DNS does the opposite: it maps an IP address to a name. It is not set at your registrar but by the owner of the address, i.e. your hosting provider. It mainly matters for servers that send email directly. If you need it, ask support, or use the client area if the option is available there.

💡 An SRV record lets players join a Minecraft server with a simple domain name, without typing the port.

Frequently asked questions

How long does DNS propagation take?

It depends on the old record's TTL: from a few minutes with a 300-second TTL to 24 or 48 hours with a long TTL. Lower the TTL the day before a change so the switch is almost immediate.

Should both www and the bare domain point to the server?

Yes, both must resolve, then the web server redirects one to the other so there is a single official address. Create an A record on the bare domain and a CNAME from www to the bare domain, then get a certificate covering both names.

Why can't I put a CNAME on the main domain?

Because a CNAME cannot coexist with other records on the same name, and the main domain must carry NS and SOA records, often MX and TXT too. Some providers offer an equivalent called ALIAS or CNAME flattening.

Can I use a domain name for a FiveM server?

Yes: create an A record pointing to the VPS address, and players connect with connect followed by the name and port 30120. FiveM does not read SRV records, so the port must be given if it is not the default one.

Linux NVMe VPS

Root access, Intel Xeon Gold and NVMe, delivered in 60 seconds. From 2,49 €/month.