Detailed Guide to A Records
Setting Up an A Record
An A record (Address Record) is a DNS record that points a domain name to an IPv4 address.
For example:
If you point www.example.com to 192.0.2.1, when users visit www.example.com, they will be directed to the server corresponding to that IP address.
Adding an A Record

Host Record:
-
@indicates the root domain (e.g., example.com) -
wwwindicates www.example.com -
Other specific subdomains
Type: Select A record
TTL: 600 seconds (recommended)
Value: Enter the IPv4 address (e.g., 192.1.1.1)
Weight: If there are no special requirements, you can uniformly fill in 1.
-
TTL is the time-to-live for a DNS record in the cache of recursive DNS servers.
-
The unit is seconds. A shorter TTL makes DNS changes take effect faster; a longer TTL results in a higher cache hit rate and more stable resolution speed.
-
600 seconds (10 minutes) is a common compromise value that balances flexibility and stability.
The higher the weight value, the higher the proportion of traffic allocated to it. Weight only takes effect among records of the same type. For example: if two A records point to different IPs, the one with a higher weight will be allocated more traffic.
Notes
-
Confirm that the entered IP address is correct and accessible; otherwise, the website will fail to load.
-
If the server IP changes, you need to update the A record in a timely manner.
-
If you fill in an internal network IP address, the domain will not be accessible from the public internet.