An A record maps your domain name to an IPv4 address. If you need to point your domain to a different server (for example, after migrating your website), you will need to update the A record.
This guide walks you through changing your A record using the cPanel DNS Zone Editor.
Step 1: Log in to cPanel
Log in to your cPanel account using your credentials.
Step 2: Open the DNS Zone Editor
Navigate to Domains → Zone Editor.
- Choose Advanced DNS Zone Editor if you need full control over all record fields (recommended).
- Choose Simple Zone Editor for a quicker, streamlined interface.
Step 3: Select your domain
From the drop-down list, select the domain whose A record you want to modify.
Step 4: Edit the A record
- Advanced Zone Editor: Find the A record row for
@(root domain) orwwwin the list. Click Edit next to it. - Simple Zone Editor: Under A Record, click Edit next to your domain name.
Step 5: Enter the new IP address
Replace the existing IP address with the new one you want your domain to point to.
Optionally, adjust the TTL (Time to Live) value. A lower TTL (e.g., 3600) speeds up DNS propagation but increases DNS query load. The default is usually 14400.
Step 6: Save changes
Click Save Record (Advanced) or Edit / Save changes (Simple) to apply the update.
Important Notes
- DNS changes can take up to 24–48 hours to propagate globally, though most updates complete within a few hours.
- If your domain uses external nameservers (e.g., Cloudflare, your registrar), the A record must be changed there, not in cPanel.
- Always double-check the IP address before saving — an incorrect A record will make your website unreachable.
Troubleshooting
- Changes not visible? Use a tool like WhatsMyDNS to check propagation status across multiple locations.
- Zone Editor missing? Your hosting provider may have disabled it. Contact support for assistance.
- Getting a "Record already exists" error? You may be trying to create a duplicate. Edit the existing record instead.