Point a Namecheap Domain to Netlify: DNS Records and SSL

by Fahim Mahmud Chisti

To point a Namecheap domain to Netlify, either switch the domain’s nameservers to Netlify DNS, or keep Namecheap BasicDNS and add two records: an A record on @ to 75.2.60.5 (or an ALIAS to apex-loadbalancer.netlify.com) and a CNAME on www to your-site-name.netlify.app. When you finish, your custom domain serves the Netlify site over HTTPS with a free Let’s Encrypt certificate, and your email records still work.

Quick answer: Use Netlify DNS if you are happy to move every DNS record to Netlify. Keep Namecheap BasicDNS if the domain has email or other records you’d rather not move.

  1. Choose Netlify DNS: add the domain in Netlify, choose Set up Netlify DNS, and paste its four nameservers into Namecheap’s Custom DNS.
  2. Choose Namecheap BasicDNS: add A @ 75.2.60.5 (or ALIAS @ apex-loadbalancer.netlify.com) and CNAME www your-site-name.netlify.app.
  3. Add both example.com and www.example.com under Domain management in Netlify.
  4. Wait for DNS to resolve, then let Netlify issue the Let’s Encrypt certificate.
In this guide
  1. Before You Start
  2. Netlify DNS or Namecheap BasicDNS: Which Should You Use?
  3. Method 1: Point Namecheap to Netlify Using Netlify DNS (Recommended)
  4. Method 2: Configure External DNS Using Namecheap BasicDNS
  5. Preserving Namecheap Private Email When Switching Nameservers
  6. Provision Let’s Encrypt SSL and Force HTTPS
  7. Debug DNS Propagation and ACME Challenges from Terminal
  8. If It Still Doesn’t Work
  9. Frequently Asked Questions
  10. Next Steps
Point Namecheap Domain to Netlify: Custom DNS, Apex Setup, and SSL Guide

Before You Start

  • Access: your Namecheap login and a Netlify account with the site already deployed. It should load on its *.netlify.app address.
  • Note your current records: screenshot the Advanced DNS page, especially MX, TXT and any subdomain records. If you switch to Netlify DNS, Namecheap stops serving them, and anything you don’t recreate in Netlify, email included, stops working.
  • Time: about 15 minutes of work. BasicDNS record changes usually resolve within about 30 minutes; a nameserver change can take up to a day.
  • Rollback: on BasicDNS, restore the old A and CNAME rows. On Netlify DNS, set Nameservers back to Namecheap BasicDNS on the Domain tab.

Netlify DNS or Namecheap BasicDNS: Which Should You Use?

You have two ways to connect Namecheap to Netlify: hand over your whole DNS zone to Netlify DNS, or keep managing records yourself in Namecheap BasicDNS. Decide this before changing anything in your registrar dashboard, because Netlify expects different records in each case. Netlify expects different records depending on whether it manages your nameservers directly or sits behind external DNS.

Per the Netlify Custom Domains documentation, Netlify DNS gives the platform full control of your zone. It automatically runs DNS-level load balancing across its global edge, issues wildcard SSL certificates, and handles branch subdomains without manual record creation.

Namecheap BasicDNS keeps your nameservers right where they are. You add the A and CNAME records by hand. Stick with this if you already run services such as Namecheap Private Email or Google Workspace, or have TXT verification records you’d rather not migrate.

The tricky part with external DNS is the apex domain (example.com). RFC 1034 doesn’t permit a CNAME at the zone root. On Namecheap BasicDNS, you point your root domain at Netlify’s load balancer, either with an A record to 75.2.60.5 or with an ALIAS record to apex-loadbalancer.netlify.com, and map www to your Netlify site URL. If you want a breakdown of how the DNS spec handles this, check our guide on configuring root domains in Namecheap DNS.

Netlify DNS is the smoothest route for static sites, SPAs, and docs. Netlify delegates your zone to its NS1-backed nameservers, giving you automatic certificate renewals and proper edge routing out of the box.

Step 1: Add Custom Domain in Netlify

  1. Head to your Netlify dashboard and click into your project.
  2. Go to Domain management.
  3. Click Add a domain and type in your root domain (like example.com).
  4. Click Verify, then hit Add domain.
  5. Next to your domain name, open the options menu and choose Set up Netlify DNS.
  6. Follow the prompts, including the initial DNS record review.
  7. Netlify will give you four nameservers (such as dns1.p08.nsone.net through dns4.p08.nsone.net). Keep this tab open.

Step 2: Copy Netlify Nameservers to Namecheap

If the domain receives email, recreate your mail records in Netlify DNS first (see the Private Email section below), then switch the nameservers:

  1. In Namecheap, go to your Domain List.
  2. Find your domain and click Manage.
  3. Under the Domain tab, look for the Nameservers section.
  4. Switch the dropdown from Namecheap BasicDNS to Custom DNS.
  5. Paste all four Netlify nameservers into lines 1 through 4.
  6. Click the green checkmark icon to save.

You can confirm the new nameservers from a terminal on your computer. The lines starting with # show the kind of answer to expect; your four nsone.net names may differ:

dig +short NS example.com @8.8.8.8
# dns1.p08.nsone.net.
# dns2.p08.nsone.net.
# dns3.p08.nsone.net.
# dns4.p08.nsone.net.

Nameserver changes are often visible within an hour, but Netlify’s documentation says to allow up to a day for them to propagate.

Method 2: Configure External DNS Using Namecheap BasicDNS

If you’re already running business email or have subdomains pointing to external servers (like an AWS API), migrating your entire zone might break live services. In that case, keep your nameservers at Namecheap and point individual A and CNAME records to Netlify.

If you also host projects on Vercel, the same approach works there; see pointing a Namecheap domain to Vercel.

Add A Record for Apex and CNAME for Subdomains

  1. In Namecheap, open your Domain List > Manage.
  2. Click the Advanced DNS tab.
  3. Delete any default Parking Page records or old A / CNAME entries on @ and www.
  4. Add an A Record with host @ pointing to Netlify’s load balancer IP: 75.2.60.5. (Namecheap also supports the option Netlify prefers, an ALIAS Record on @ pointing to apex-loadbalancer.netlify.com. Use one or the other, and keep only a single A record on @.)
  5. Add a CNAME Record with host www pointing to your Netlify site URL (e.g., your-site-name.netlify.app.).
  6. Set TTL to Automatic or 5 min so adjustments resolve quickly.

Your Namecheap Host Records should then contain these rows (use the A record or the ALIAS record, not both):

Type Host Value TTL
A Record @ 75.2.60.5 Automatic
ALIAS Record (instead of the A record) @ apex-loadbalancer.netlify.com 5 min
CNAME Record www your-site-name.netlify.app. Automatic

Leave your MX and TXT rows (and the Mail Settings section) as they are; they don’t conflict with these records. Once saved, go back to Netlify under Domain management, register both example.com and www.example.com, and choose your primary domain.

Preserving Namecheap Private Email When Switching Nameservers

If you pick Method 1 (Netlify DNS) while using Namecheap Private Email or Google Workspace, changing your nameservers will break inbound email immediately unless you copy your MX records over first.

Before changing nameservers in Namecheap, grab your MX and TXT records from the Advanced DNS tab. Then recreate them inside Netlify under Domain management > Netlify DNS > DNS records > Add new record.

These are the default Namecheap Private Email records you’ll need to replicate in Netlify DNS:

Type: MX  | Name: @ | Value: mx1.privateemail.com | Priority: 10
Type: MX  | Name: @ | Value: mx2.privateemail.com | Priority: 10
Type: TXT | Name: @ | Value: v=spf1 include:spf.privateemail.com ~all

Copy your DKIM, DMARC, and any verification TXT or CNAME records the same way. Adding these before flipping the nameserver switch in Namecheap keeps your mail flowing without dropped messages.

Provision Let’s Encrypt SSL and Force HTTPS

Netlify automates TLS certificate issuance via Let’s Encrypt. Once DNS routes properly, certificate provisioning starts automatically.

  1. In Netlify, open Domain management.
  2. Scroll down to the HTTPS section.
  3. If your records have propagated, Netlify will show the certificate as active.
  4. If it is still waiting on DNS, use the option to verify your DNS configuration, then provision the certificate if prompted.
  5. Once the certificate is active, confirm that http:// requests redirect to https://. If your dashboard shows a Force HTTPS option, enable it.

If you run into an error saying the certificate couldn’t cover both domains, check that both the root domain (example.com) and the subdomain (www.example.com) resolve to Netlify. Let’s Encrypt has to validate every hostname on the certificate before it is issued, and leftover AAAA records or a second A record on @ will block it.

Debug DNS Propagation and ACME Challenges from Terminal

When a domain won’t resolve or throws an SSL error, browser caching will only confuse you. Query the raw records and headers directly from a terminal on your computer. The commented lines show what a correct setup returns.

Check the root domain’s A record (with an ALIAS record you see Netlify’s load balancer IPs instead):

dig +short A example.com
# Expected output for Namecheap BasicDNS:
# 75.2.60.5

Check the www CNAME record:

dig +short CNAME www.example.com
# Expected output:
# your-site-name.netlify.app.

Test the TLS handshake and HTTP response headers directly against Netlify’s edge:

curl -Iv https://www.example.com 2>&1 | grep -E "(HTTP/|Server|SSL certificate verify|issuer)"
# Sample output:
# * SSL certificate verify ok.
# *  issuer: C=US; O=Let's Encrypt; CN=YR1
# < HTTP/2 200
# < server: Netlify

If curl returns a certificate validation error mentioning *.netlify.app instead of your actual custom domain, your Let’s Encrypt cert hasn’t finished provisioning yet, and Netlify is still serving its fallback wildcard cert.

If It Still Doesn’t Work

1. The www vs Apex Redirect Loop

An infinite redirect loop between apex and www usually means two systems are redirecting in opposite directions: Namecheap still has a URL Redirect Record sending example.com to www, while Netlify has example.com as the primary domain and redirects www back to it.

Fix: Delete every URL Redirect Record in Namecheap and let Netlify handle the redirect. When using external Namecheap BasicDNS, Netlify also recommends setting www.example.com as the primary domain, because an apex A record resolves to the load balancer IP and cannot use Netlify’s DNS-level CDN routing the way the www CNAME does. The apex then 301-redirects to www.

2. Mixed Nameservers in Namecheap

When moving to Netlify DNS, make sure the Custom DNS list in Namecheap contains all four Netlify nameservers and nothing else. A leftover nameserver from a previous provider answers some queries from a different zone, creating intermittent lookup failures.

Check your authoritative nameservers with whois:

whois example.com | grep -i "Name Server"
# Ensure ONLY Netlify NS1 servers appear here

3. One Name Works and the Other Doesn’t

If www.example.com loads but example.com doesn’t (or the other way round), one of the two records is missing or wrong. Run both dig checks above. An empty answer for the apex usually means the A or ALIAS row on @ was never saved, or a leftover URL Redirect Record is still on @. Also make sure both names are added in Netlify under Domain management.

4. Email Stopped After Switching to Netlify DNS

The MX and TXT records weren’t recreated in Netlify DNS before the nameserver change. Add them in Netlify now (see the Private Email section above). Sending servers usually retry for a while, so many messages still arrive once the MX records resolve again, but some may already have bounced.

Frequently Asked Questions

How long does it take for Namecheap DNS to update to Netlify?

On Namecheap BasicDNS with TTL set to Automatic, A and CNAME record updates usually propagate within about 30 minutes. Nameserver changes (moving over to Netlify DNS) can take up to a day depending on global resolver TTL caches.

Should I make www or the apex domain my primary domain on Netlify?

If you’re on Netlify DNS, either works fine because Netlify flattens ALIAS/ANAME records on its own edge. If you’re on Namecheap BasicDNS, make www.example.com primary. That ensures traffic hits the CNAME routed to Netlify’s distributed edge rather than bottlenecking on a single load balancer A record IP.

Can I use Cloudflare DNS instead of Netlify DNS or Namecheap?

Yes. Set your Namecheap nameservers to Cloudflare, point a CNAME on www to Netlify, and rely on Cloudflare’s CNAME Flattening for the root apex. Keep Cloudflare proxying (the orange cloud) disabled so Netlify can issue and renew its Let’s Encrypt certificate.

Why is Netlify SSL verification failing on my Namecheap domain?

This usually means DNS hasn’t reached Let’s Encrypt’s validation servers yet, or you have an old CAA record restricting which certificate authorities can issue certs for your domain. Add letsencrypt.org to your CAA records in Namecheap DNS (or remove them), delete any AAAA records and extra A records on @, and check Netlify’s HTTPS settings again. Netlify retries provisioning automatically, every 10 minutes during the first 24 hours.

Next Steps

Open http://example.com and https://www.example.com in a private browser window and confirm both land on your primary domain with a valid padlock. If the domain has email, run dig MX example.com +short to confirm the mail records survived the change. For a Private Email domain, compare the answer with the values in our guide to Namecheap Private Email MX records.

all_in_one_marketing_tool