An A Record is a DNS entry that maps a domain or subdomain to an IP address, allowing browsers to locate your server and display your website. Managing A Records involves adding, editing, or removing them to update where your domain points.
Steps to Manage A Records #
Step 1: Log in to Your DNS Management Panel #
- Access the control panel of your domain registrar or DNS hosting provider (e.g., OzSpeed hPanel).
- Navigate to the Domains or DNS Zone Editor section.
Step 2: Locate the A Records #
- Find the DNS Records or Zone Editor tab for the domain you want to manage.
- Look for existing A Records for your domain or subdomains.
Step 3: Add a New A Record #
- Click Add Record or Create Record.
- Enter the following details:
- Host/Name:
- Use
@
for the root domain (e.g., example.com). - Use the subdomain (e.g.,
www
,blog
) if applicable.
- Use
- Type: Select A.
- Value: Enter the IP address of the server (e.g.,
192.0.2.123
). - TTL (Time to Live): Set a TTL value (default: 300 seconds or 5 minutes).
- Host/Name:
- Save the changes.
Step 4: Edit an Existing A Record #
- Locate the record you want to modify.
- Click Edit next to the record.
- Update the IP address or other fields as needed.
- Save the changes.
Step 5: Delete an A Record #
- Find the A Record you wish to remove.
- Click Delete or Remove.
- Confirm the action to delete the record.
Examples of Common A Records #
Host/Name | Type | Value | TTL |
---|---|---|---|
@ | A | 192.0.2.123 | 300 |
www | A | 192.0.2.123 | 300 |
blog | A | 203.0.113.45 | 300 |
Tips for Managing A Records #
- Backup DNS Settings:
- Before making changes, save a backup of your current DNS configuration.
- Propagation Time:
- DNS changes, including A Records, may take up to 24–48 hours to propagate globally.
- Use DNS Propagation Tools:
- Tools like DNS Checker can help verify that the new A Records are propagating correctly.
- Avoid Conflicts:
- Ensure there are no duplicate A Records pointing the same host to different IP addresses, as this may cause inconsistencies.
- Test After Changes:
- Once the A Record is updated, test the domain or subdomain to confirm it resolves to the correct IP.
Troubleshooting Common Issues #
- Website Not Loading:
- Verify that the A Record points to the correct IP address of your hosting server.
- Conflicting Records:
- Check for and remove conflicting DNS records (e.g., CNAME for the same host).
- Changes Not Reflecting:
- Clear your local DNS cache:
- Windows:
ipconfig /flushdns
- macOS:
sudo killall -HUP mDNSResponder
- Windows:
- Wait for propagation if the changes were made recently.
- Clear your local DNS cache:
Additional Notes: #
- Coordinate with Hosting Provider:
- Ensure you have the correct IP address from your hosting provider before making changes.
- Subdomain Configurations:
- Use separate A Records for subdomains if they need to point to different IPs.