XiaTools

Namecheap DNS Settings Tutorial for Beginners

Updated 09 Oct 2026

Configuring your domain's DNS records correctly is the single most important step in getting your website and email online. This Namecheap DNS settings tutorial walks you through every essential record type, points you to the DNS Lookup tool on XiaTools to instantly verify your changes and ensure global propagation, and helps you avoid common configuration traps.

Understanding Namecheap DNS Basics

When you buy a domain on Namecheap, your domain uses Namecheap BasicDNS or Namecheap Web Hosting DNS by default. These are Namecheap's proprietary name servers that host your zone file. To point your domain to your web host, email provider, or CDN, you need to manage your Advanced DNS records within your Namecheap account.

To access your DNS settings on Namecheap:

  1. Log into your Namecheap account and navigate to your Dashboard.
  2. Locate your domain in the domain list and click the Manage button next to it.
  3. Click on the Advanced DNS tab at the top of the page.

Here, you will see a table containing existing records like CNAME aliases and URL redirect records. You can add, edit, or delete records from this interface. Always remember to click the green checkmark or the Save All Changes button at the bottom of the page whenever you modify a record.

Essential DNS Record Types and Syntax

Managing DNS requires understanding the specific record types that control how traffic reaches your domain. Below is a breakdown of the most common records you will configure in Namecheap.

A Records (Address Records)

An A record points your domain or a subdomain to an IPv4 address. For example, pointing example.com to 192.0.2.1.

  • Type: A Record
  • Host: @ (represents the root domain) or a subdomain like www or blog
  • Value: The IPv4 address provided by your host
  • TTL: Automatic or 30 minutes

AAAA Records

An AAAA record points your domain or subdomain to an IPv6 address.

  • Type: AAAA Record
  • Host: @ or a specific subdomain
  • Value: The IPv6 address (e.g., 2001:db8::1)
  • TTL: Automatic

CNAME Records (Canonical Name)

A CNAME record creates an alias pointing one domain name to another domain name. You cannot use a CNAME record on the root domain (example.com) if you also have MX or TXT records there, which is why Namecheap offers a special ALIAS Record type for root domains.

  • Type: CNAME Record
  • Host: www or shop
  • Value: target.hostingservice.com. (always include the trailing dot for fully qualified domain names)
  • TTL: Automatic

MX Records (Mail Exchange)

MX records direct your incoming email to your email service provider (such as Google Workspace or Microsoft 365).

  • Type: MX Record
  • Host: @
  • Value: mail.example.com.
  • Priority: A number (e.g., 10, 20) determining the mail server preference

TXT Records

TXT records hold text data, commonly used for domain ownership verification and security protocols like SPF, DKIM, and DMARC.

  • Type: TXT Record
  • Host: @
  • Value: v=spf1 include:_spf.google.com ~all
  • TTL: Automatic

Step-by-Step: Adding Your First Custom DNS Record

Let's walk through the exact process of adding an A record to point your Namecheap domain to a custom server IP address.

  1. Log into Namecheap, go to your Domain List, and click Manage next to your domain.
  2. Click the Advanced DNS tab.
  3. Scroll down to the DNS Zone section and click the Add New Record button.
  4. From the Type dropdown menu, select A Record.
  5. In the Host field, enter @ to apply the record to your root domain (or enter a subdomain name like app).
  6. In the Value field, enter your server's IPv4 address, such as 192.0.2.25. Leave the TTL set to Automatic.
  7. Click the checkmark icon on the right side of the row to save the individual record, or click Save All Changes at the bottom.

To verify that your record is returning the correct IP address locally, you can use the command line tools on your computer:

nslookup example.com

Or use dig for more detailed technical output:

dig example.com A +short
Record Type Host Field Typical Value Purpose
A @ or subdomain IPv4 Address (192.0.2.1) Points domain to a server IP
CNAME Subdomain (www) Target domain name Aliases one name to another
TXT @ Text string Security policies and verification
MX @ Mail server + priority Routes incoming email

Pointing Namecheap Domain to External Nameservers

If you prefer to manage your DNS records entirely outside of Namecheap (for example, on Cloudflare, AWS Route 53, or DigitalOcean), you must change your domain's nameservers.

  1. Navigate to your domain's Manage page in Namecheap.
  2. In the Domain tab (default landing page), find the Nameservers section.
  3. Change the dropdown selection from Namecheap BasicDNS to Custom DNS.
  4. Enter the nameservers provided by your external host (e.g., ns1.examplehost.com and ns2.examplehost.com).
  5. Click the green checkmark to save.

Note: When you switch to Custom DNS, all records managed inside Namecheap's Advanced DNS tab are ignored. You must recreate all of your A, CNAME, and MX records on your new DNS provider's platform. Propagation for nameserver changes can take anywhere from 2 to 24 hours globally.

Common Mistakes and How to Fix Them

Even experienced webmasters occasionally run into DNS configuration pitfalls. Here are the most frequent issues and how to resolve them:

  • Conflicting Root CNAME Records: A standard CNAME record cannot coexist on the root domain (example.com) with other record types. If you try to add a CNAME at the root, Namecheap will throw an error or break your mail delivery. Fix: Use Namecheap's built-in ALIAS Record for the root domain if you need to point example.com to an external hostname.
  • Forgetting the Trailing Dot: When pointing a CNAME or MX record to an external domain name, omitting the trailing dot can sometimes cause the DNS parser to append your own domain name to the end of the target. Fix: Always ensure external FQDN targets end with a dot, like ghs.googlehosted.com..
  • Incorrect MX Record Priority: Email servers rely on priority numbers to decide which mail server to try first. Fix: Ensure your primary mail provider's priority matches their exact documentation (often 1 or 10), with backup servers assigned higher numbers.
  • Assuming Instant Propagation: Making a change in Namecheap does not mean the entire internet sees it immediately. Fix: Respect the TTL (Time to Live) values. Use a reliable external lookup tool to verify propagation across multiple global public resolvers before assuming your configuration is broken.

Namecheap DNS Configuration Checklist

  • Logged into Namecheap and opened the Advanced DNS tab.
  • Verified whether to use Namecheap BasicDNS or switch to Custom DNS.
  • Added required A records for the root domain and www subdomain.
  • Configured MX and TXT records for secure, reliable email delivery.
  • Checked for conflicting root records.
  • Used verification utilities to confirm records resolve correctly worldwide.

Frequently asked questions

How long do Namecheap DNS changes take to update?

Most DNS changes made within Namecheap propagate globally within 15 to 30 minutes. However, depending on your ISP and the TTL settings of previously cached records, complete global propagation can occasionally take up to 24 hours.

Can I use a CNAME record on my root domain in Namecheap?

Standard DNS protocols prohibit placing a CNAME record on a root domain (apex domain) like example.com. Namecheap solves this by providing an ALIAS record type, which safely maps root domains to external hostnames.

Why is my website showing a Namecheap parked page?

If you see a default Namecheap holding page, it usually means your domain's A records are still pointing to Namecheap's default parking IP address. Update your A records to point to your actual web hosting provider's server IP.

What should I do if my custom nameservers are not working?

First, verify that you entered the nameserver hostnames correctly without any leading or trailing spaces. Keep in mind that switching nameservers takes longer to propagate than standard A or CNAME record updates, often requiring a few hours.

How do I set up Google Workspace or Microsoft 365 on Namecheap?

You need to log into your Advanced DNS tab, delete any conflicting default mail records, and add the specific TXT verification record and MX records provided by Google or Microsoft. Make sure the priority numbers match their exact specifications.

Related articles

Free tools