Skip to content

Knowledge Base

Pointing a domain to your VM with A and AAAA records

Create an A record for the VM’s public IPv4 address and an AAAA record for its IPv6 address. Use the hostname portion required by your DNS provider: commonly @ for the zone apex or a label such as www.

  1. Make the web service listen on the intended address and port.
  2. Permit the port in the guest firewall.
  3. Test the VM directly by address.
  4. Publish DNS with a short TTL during initial validation.
  5. Check the authoritative answer, then test from an unrelated network.
dig +short A host.example.com
dig +short AAAA host.example.com

DNS maps names to addresses; it does not install TLS, open a firewall, or configure a web server.

Please rate this article to help us improve our Knowledge Base.

0 0