How to Point Your Domain with A Records When Your DNS Is Hosted Elsewhere

If your domain's DNS is hosted somewhere other than our nameservers -- at your registrar, at Cloudflare, or at a website builder where you bought the name -- you can still point it at your Instant Access Internet Services hosting by creating the right records yourself. This guide shows you how to point your domain with A records when your DNS is hosted elsewhere, which records you need for your website and email, and how to check your work.

Nameservers or A records: which should you use?

There are two ways to connect a domain to your hosting:

Change nameservers to oursKeep DNS elsewhere, add A records
Who manages DNS recordsOur server creates them for you. You edit them in cPanel's Zone Editor.You do, at your DNS provider.
Email records (MX, SPF, DKIM)Created automatically.You copy them over by hand.
If something changes on our sideUpdated automatically.You must update your records yourself.
Good forMost customers.Domains that also run other services (a shop, a booking system, Microsoft 365) whose records you'd rather manage in one place, or Cloudflare users.

If you don't have a strong reason to keep DNS elsewhere, changing nameservers is simpler and less likely to break. See Our Nameservers: How to Point Your Domain to Your Hosting. Otherwise, read on.

Step 1: Find your account's IP address in cPanel

Every A record you create points to one address: your hosting account's IP address. Don't copy an IP from an old email, a forum post or another customer's settings -- always read it from your own cPanel.

  1. Log in to the client area, go to Services > My Services, choose your hosting plan and click Log in to cPanel.
  2. On the cPanel home page, look at the General Information panel on the right-hand side. (On a narrow screen it may be further down the page.)
  3. Find the line labelled Shared IP Address. If your account has its own address, it's labelled Dedicated IP Address instead.
  4. Copy that address exactly. It's four numbers separated by dots.

While you're in cPanel, open Email > Email Deliverability too. You'll need the SPF and DKIM values it shows in Step 3.

Step 2: Create the website records

Log in to the company that hosts your DNS and open the DNS settings for your domain (often called DNS, DNS Records, Advanced DNS or Manage Zone). Create or edit these records. Wherever the table says "your Shared IP Address", paste the address you copied from your own cPanel.

TypeHost / NameValue / Points toTTL
A@ (the domain itself)Your Shared IP Address3600 or "Automatic"
AwwwYour Shared IP Address3600 or "Automatic"

A few rules that trip people up:

  • Only one answer per name. If there's already an A record for @ or www pointing to your old host or to a "parked" page, edit it -- don't add a second one. Two A records for the same name send visitors randomly to either server.
  • www can be a CNAME instead. A CNAME from www to example.com works too, but you can't have both a CNAME and an A record for www. Delete one.
  • Remove old AAAA records. An AAAA record is the IPv6 version of an A record. If one exists for @ or www and points to your old host, some visitors will keep reaching the old site. Delete it unless we've given you an IPv6 address to use.
  • Turn off domain forwarding. Many registrars have a "forwarding" or "redirect" feature that overrides your A record. Switch it off for the domain.
  • Host field format. Most providers want just www, not www.example.com. Some add the domain automatically, so typing the full name creates www.example.com.example.com.

Step 3: Create the email records (if you use our email)

If your email is hosted with us, add these too. If you use Microsoft 365 or Google Workspace for email, skip the MX and mail records and follow How to Use Microsoft 365 or Google Workspace Email with Your Domain instead.

TypeHost / NameValueNotes
AmailYour Shared IP AddressEmail apps connect to mail.example.com.
MX@mail.example.comPriority 0 (or 10 if 0 isn't allowed). An MX must point to a name, never an IP.
TXT@The SPF value from Email DeliverabilityStarts with v=spf1. Only one SPF record per domain.
TXTdefault._domainkeyThe DKIM value from Email DeliverabilityLong text starting with v=DKIM1. Copy it all.

Delete any MX records left over from the old host. If two MX records point to different providers, some mail goes to each.

Optional extras, all as A records to the same IP: webmail and cpanel (so webmail.example.com and cpanel.example.com work), and autodiscover and autoconfig (helps some email apps find settings on their own). You don't strictly need them -- you can always reach cPanel and webmail through the client area.

For extra protection against spoofing, also add a DMARC record. See How to Add a DMARC Record to Your Domain.

Step 4: Check your work

  1. Wait a little. New records usually appear within minutes to a few hours; edits to existing records wait out the old record's TTL.
  2. Open Command Prompt (Windows) or Terminal (Mac) and run:
    nslookup example.com 8.8.8.8
    nslookup www.example.com 8.8.8.8
    nslookup -type=MX example.com 8.8.8.8
    The first two should return the IP address you copied from cPanel. The MX lookup should show mail.example.com.
  3. Back in cPanel, open Email > Email Deliverability. Once your records are visible, SPF and DKIM should show as valid. Because your DNS is elsewhere, cPanel can't fix any problems for you -- it only tells you what to change at your DNS provider.
  4. Open Security > SSL/TLS Status. Within a few hours of your A records resolving, AutoSSL should issue a certificate for example.com and www.example.com.

For more ways to check, see DNS Propagation: Why Domain Changes Take Time and How to Check.

Important: the cPanel Zone Editor doesn't apply

Your account still has a DNS zone on our server, and it still appears in Domains > Zone Editor. But while your domain uses someone else's nameservers, nobody on the internet reads it. When a guide (ours or a third party's) says "add this record," add it at your DNS provider. Adding it in cPanel does nothing.

The same goes for anything cPanel sets up automatically, such as a new subdomain. If you create shop.example.com in cPanel, you also need to add an A record for shop at your DNS provider, pointing to the same IP.

Troubleshooting

The old website still shows up

Check for a second A record or an AAAA record on @ or www, and for registrar forwarding. Then flush your own DNS cache (ipconfig /flushdns on Windows) and try a private browser window or your phone on mobile data.

I see a "default page" or "account suspended" page from someone else

The A record points to the wrong IP. Compare it character by character with the Shared IP Address in your cPanel General Information panel.

The site works but shows "Your connection is not private"

AutoSSL hasn't issued a certificate yet, or it can't validate. Check SSL/TLS Status for errors. The usual causes are a missing www record, a leftover AAAA record, or a proxy (such as Cloudflare's orange cloud) in front of the site. See Free SSL Certificates: How AutoSSL and SSL/TLS Status Work.

My DNS provider won't accept "@"

Leave the host field blank, or type your domain name in full -- providers differ. Their help pages say which.

Email arrives, but mail I send goes to spam

Your SPF or DKIM record is missing or was pasted wrong. Compare what Email Deliverability expects with what's live. A DKIM value broken across two lines, or with an extra quote mark, is a common culprit. See How to Set Up SPF and DKIM with Email Deliverability.

Common questions

Can I just use a CNAME for the root domain instead of an A record?

Standard DNS doesn't allow a CNAME on the bare domain (example.com). Some providers offer a workaround called ALIAS, ANAME or "CNAME flattening," but a plain A record is simpler and always works.

Will my IP address ever change?

It can, for example if your account is moved to a new server. With our nameservers that's handled for you. With DNS elsewhere you'd need to update your A records. Keep the contact email in your client area current so you get notices, and when in doubt, re-check the General Information panel in cPanel.

Why don't you just give me the IP in this article?

Different accounts can be on different servers and addresses. The only reliable source for your address is your own cPanel.

Can I point only the website here and keep email somewhere else?

Yes. Add just the A records for @ and www, and leave your existing MX records alone. If you have email accounts in cPanel for the same domain, open a ticket or see the Microsoft 365 / Google Workspace guide about the Email Routing setting, so mail sent from your website goes to the right place.

Related guides

Still stuck? Open a support ticket and the Instant Access Internet Services team will help.

Ultrafast LiteSpeed hosting from InstantAccess.net: free SSL, free backups, cPanel included, no contracts. Check out our $10/month hosting.
  • point domain with a record, a record to hosting ip, find shared ip address cpanel, keep dns at registrar, mx record for cpanel email, dns hosted elsewhere cpanel, point godaddy domain to hosting
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Use Microsoft 365 or Google Workspace Email with Your Domain

You can keep your website with us and use Microsoft 365 (Outlook) or Google Workspace (Gmail) for...

Our Nameservers: How to Point Your Domain to Your Hosting

To make your website and email work on your hosting account, your domain has to point to the...

DNS Propagation: Why Domain Changes Take Time and How to Check

When you change your nameservers or edit a DNS record, some people see the change right away...

How to Set Up Dynamic DNS in cPanel

Dynamic DNS (DDNS) lets you reach a device on a home or office connection, such as a camera, NAS...

Free SSL Certificates: How AutoSSL and SSL/TLS Status Work

Every hosting account includes free SSL certificates, so your website loads over HTTPS with a...