A records
Point a domain or subdomain at an IPv4 address — for websites, VPS and game servers.
1 min read
On this page
An A record maps a hostname to an IPv4 address.
Examples#
| Name | Value | Result |
|---|---|---|
@ |
203.0.113.10 |
example.com → your server |
www |
203.0.113.10 |
www.example.com → your server |
play |
203.0.113.20 |
play.example.com → your game server |
@ means the root domain itself. Replace the example IPs with your real ones.
Add one#
- Open your DNS provider (registrar, Cloudflare, or cPanel Zone Editor).
- Add a record: Type A, Name
play, Value your server IP, TTL auto or 3600. - Save, then check:
bash
dig +short play.example.comGame servers on a custom port#
An A record holds an IP only — never a port. If your Minecraft server isn't on port 25565, add an SRV record as well, or players must type play.example.com:PORT.
Cloudflare users#
For game servers, the A record must be DNS only (grey cloud). The orange-cloud proxy only handles HTTP/HTTPS and will break Minecraft connections. See Cloudflare integration.
Was this page helpful?
