VPS1Euro Dashboard Wiki

Complete client guide: infrastructure, services, account and support.

FR EN

Configure a domain name and DNS

Link a domain name to your container and understand essential DNS records.

What this tutorial does

The tutorial "Configure a domain name and DNS" helps you achieve this goal:

Link a domain name to your container and understand essential DNS records.

← Back to tutorials
1 profiles 19 steps 2 commands ~15 min

General (at your registrar)

  1. --- Primary DNS records to create ---
  2. A record (domain -> IP):
  3. example.com. A 1.2.3.4
  4. www.example.com. A 1.2.3.4
  5. AAAA registration (IPv6, if available):
  6. example.com. AAAA 2001:db8::1
  7. MX record (incoming email):
  8. example.com. MX 10 mail.example.com.
  9. CNAME record (alias to another domain):
  10. blog.example.com. CNAME example.com.
  11. TXT recording (anti-spam SPF):
  12. example.com. TXT "v=spf1 ip4:1.2.3.4 ~all"
  13. --- Check DNS Propagation ---
  14. From the container: dig example.com A
  15. Check online: https://dnschecker.org
  16. DNS propagation can take from a few minutes to 48 hours.
  17. --- Test local resolution ---
  18. apt install -y dnsutils
  19. nslookup example.com