Home
Support Forums

[Support Guide] DNS Quick Start - How to set up DNS

Last reviewed: July 2021

Note: All options discussed in this guide assume you have already added your custom domain to your Netlify site.

Hi there! Need to get your site up and running with DNS? Start here with either Newly purchased domain or Existing domain that you’ve already used.

Newly purchased domain

If you have a brand new domain purchased from a registrar such as Namecheap or GoDaddy, and you want to quickly get your DNS set up, you have two options:

  1. External DNS - Create these two DNS records at your registrar:

    Type Name Value
    A @ 75.2.60.5
    CNAME www mysite.netlify.app

    The value for mysite is your site name on Netlify, for example, brave-curie-671954. If you renamed your netlify site, use that instead.

  2. Netlify DNS - Switch from using your registrar’s name servers to using Netlify’s. To do this, you’ll create a DNS Zone at Netlify. In the Netlify UI, navigate to your site and go to Domains —> Custom Domains. Click the Options button to the right of your custom name and select Set up Netlify DNS. There, scroll down to see your four nameservers. Write down the names and URLs of those name servers, then head over to your registrar and change the nameservers listed in your registrar’s dashboard to those you just copied from Netlify.

You’re done! Now we wait, as these changes won’t take effect immediately. Changes to DNS records can take up to 48 hours to propagate and take effect for the entire internet - worldwide! You can check your progress using this tool. See this Support Guide for more info on why it really can take this long: [Support Guide] Why do DNS / SSL changes take up to 48 hours to propagate? (TTL)

Feel like it should have been propagated already? If it hasn’t yet been 24-48 hours, please wait a little longer before creating a new post. We cannot speed up this process for you, sadly. Many DNS issues fix themselves with a little patience, and if it has not yet been 48 hours we will likely ask you to wait before we investigate.

Existing domain that you’ve already used

We recommend option 1 above, External DNS.

However, if you want to use Netlify DNS instead, you totally can. You’ll need to copy all existing DNS records to Netlify before changing the name server records to point to Netlify, especially if you have an email service configured for it like GSuite. Please read this Support Guide for more details about copying existing DNS records to Netlify: [Support Guide] How do I migrate a domain to Netlify Managed DNS with zero downtime?

One other scenario: Domain purchased through Netlify

If you purchased your new domain through Netlify it will already have Netlify DNS enabled! So you are all set. :tada:

In Conclusion

Not sure which to use? Check out this Support Guide: [Support Guide] Should I use Netlify to manage my DNS?

Additional resources and definitions

Links to other DNS Support Guides

[Support Guide] Can I host my site on Netlify but keep my DNS at my domain registrar?

[Support Guide] How can I manage my DNS with Netlify if I used another vendor to purchase my domain?

[Support Guide] Is my site using Netlify’s DNS correctly?

[Support Guide] How to use Netlify’s branch deploy feature without Netlify DNS

[Support Guide] What are the NETLIFY and NETLIFYv6 type DNS records? How do I delete these records?

[Support Guide] Minimal downtime for a live site DNS migration

[Support Guide] Which are some good DNS providers for ALIAS/ANAME support?

[Support Guide] How do I transfer my domain name to (or away from) Netlify?

[Support Guide] How can I receive emails on my domain?

[Support Guide] Finding the IP addresses for Netlify’s Nameservers

[Support Guide] Someone else is using my domain/DNS zone or I can’t remove the NETLIFY records in my DNS zone?

[Support Guide] Verifying domain ownership for Netlify custom domain

[Support Guide] Name.com domain reports “A DNS zone for this domain already exists on NS1” error

[Support Guide] I’m getting errors when adding my domain to Netlify or configuring DNS zones

[Support Guide] I changed my name servers / DNS on AWS Route53 but I’m still having issues

[Support Guide] Why isn’t my SSL certificate provisioning automatically with Cloudflare & Netlify? Are there other problems with using Cloudflare in front of Netlify?

Links to some registrars’ DNS instructions

EXTERNAL DNS - ADDING RECORDS

GoDaddy A records

GoDaddy CNAME records

Namecheap A records

Namecheap CNAME records

NETLIFY DNS - CHANGING NAMESERVERS

GoDaddy

Namecheap

Custom domain not configured correctly
Apex & www subdomain & SSL question - confused on proper set up
DNS and SSL disabled
Netlify DNS Issues with 3rd Party Domain, Duplicate A Records
Website with custom domain goes offline randomly
Your connection to this site is not secure
“domain_aliases is owned by another account” error when adding domain
"Transaction denied" - Domains
DNS issue even though records are setup
Need record a cname
Namecheap + Netlify + Wix
Pointing a Domain to Netlify
Newbie question. DNS records for custom domain
DNS Certification Failure even after TTL update
Godaddy and nameservers
Unable to Correctly Connect/Configure Subdomain on My Domain
Webcrawler getting blocked
Custom Domain not connecting to Netlify Site
DNS verification failed
DNS Records a record
Page fetch failed / redirect error
SSL/TLS certificate errors/problems
DNS not working, website can't load
DNS Records Not Resolving and Subdomain Broken
My website is not showing and I don't know why
SniCertificate::CertificateInvalidError: Unable to verify challenge - Not Found
Help with Netlify DNS setup
Trying to add custom domain - Unable to verify domain ownership
Howtogamerz.com
Custom domain, netlify DNS - apex domain doesn't work
Setting up subdomain in a manual deployment with netlify dns
DNS Record issues -- NETLIFY records, MX records
DNS pointed to netlify but still getting files from Resellers cPanel
Cannot configure a custom external domain because domain setup defaults to Netlify DNS
Page not found custom domain
In my website i added an domain with DNS and for few minutes it worked perfectly and now it is showing "site can't reached"
My website isn't showing up
Can’t renew SSL Certificate after changing the primary domain
Website won't leave: Waiting on DNS propagation
My personal domain on Netlify displays NET::ERR_CERT_COMMON_NAME_INVALID sometimes
Update main domain to use Netlify but keep subdomain with current hosting provider
Unable to resolve SSL cert
Please help with Hugo site with netlify and custom domain
Are there any mandatory DNS records I need to create when adding a custom domain?
After new build some users are getting ssl error "ERR_SSL_PROTOCOL_ERROR"
I added netlify dns records, but still my domain is not working after 24 hours
[Support Guide] How to set up Netlify DNS on a domain alias
Preparing to migrate domain from Squarespace to Netlify

Hi,
We are trying to setp DNS records at gabia.com But they are accepting only A, MX, CNAME, TXT and SRV only, not NS records. So how can i get the A record.

I think CNAME is, enposs.netlify.app But when i set it as CNAME record, so it is expecting dot(.) at end which is not right.

Appreciate if you can help us quickly

HI, @venukommu. Actually, all fully qualified domain names always end in a trailing dot but … web browsers never show it. The dot is there though.

Web browsers distort reality in many ways (much to my frustration) and this is one of the ways they do so. For example, many browsers (*cough* Chrome *cough*) also hide the www and the https:// from URLs when they are actually really there.

For example, if I make a query for example.com the answer will be for example.com. with a trailing dot. Here is an example:

$ dig +noall +answer example.com
example.com.		1069	IN	A	93.184.216.34

To summarize, do enter the CNAME for enposs.netlify.app. (with the trailing dot) as this is definitely the correct thing to do with your DNS service.

I added “with your DNS service” because all DNS services have slightly different web UIs so this won’t be true for everyone. Trust me though, behind the scenes inside the DNS responses themselves, the trailing dot is really always there. The web UIs, however, may or may not show the trailing dot. It just depends on what each particular service does.

Dear Luke,
Thank you very much for explaining me in detail about trailing dot. Appreciate your patience. Anyway already we have added CNAME Yesterday, but i think only CNAME is not sufficient. We are looking for A record also, i think we need to setup A record with IP address. How can i get IP address for enposs.netlify.app

Appreciate your quick help.
Thank you very much
Venu Kommu

Hi, @venukommu. This information is found here:

Quoting:

  1. Find your DNS provider’s DNS record settings for your apex domain, such as petsofnetlify.com .
  2. Add an A record . Depending on your provider, leave the host field empty or enter @ .
  3. Point the record to Netlify’s load balancer IP address: 75.2.60.5
  4. Save your settings. It may take a full day for the settings to propagate across the global Domain Name System.

If there are other questions, please let us know.