To add an A record, typically you need to access your domain's DNS settings through your hosting provider or domain registrar. Here's a general process based on the provided reference, assuming you're using one.com:
-
Log into the one.com Control Panel. This is your starting point.
-
Click DNS settings: Look for a section labeled "Advanced settings" (or similar) and within that, find "DNS settings."
-
Go to DNS records: Navigate to where you manage your DNS records. This is usually a table or list.
-
Create a new A record: Find the option to "create new record" and select "A" record.
-
Enter the required details:
-
Hostname: This determines where the A record points from.
- Leave this empty to point the main domain (e.g., yourdomain.com) to the IP address.
- Enter a subdomain (e.g.,
www
,blog
,shop
) to point that subdomain (e.g.,www.yourdomain.com
) to the IP address.
-
Points to: Enter the IPv4 address that you want the domain or subdomain to point to. This is the crucial part – the IP address of your web server.
-
TTL (Time To Live): This determines how long DNS servers cache the record. The default value (often 3600 seconds, or one hour) is usually fine.
-
-
Create the record: Click the button to "Create record" or "Save" your settings. This will add the A record to your DNS zone file.
Important Considerations:
-
Propagation: After adding the A record, it can take some time (up to 48 hours, but usually less) for the changes to propagate across the internet. During this time, some users may still be directed to the old IP address.
-
IPv4 vs. IPv6: A records are for IPv4 addresses. If you need to point to an IPv6 address, you should create an AAAA record instead.
-
Multiple A Records: You can have multiple A records for the same hostname, potentially pointing to different servers. This is often used for load balancing or redundancy.
-
Your Hosting Provider's Documentation: The exact steps and terminology may vary slightly depending on your hosting provider or domain registrar. Always refer to their specific documentation for the most accurate instructions.